-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix issue with user breadcrumbs #3152
Fix issue with user breadcrumbs #3152
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jtapia thanks for making this PR! 👍
I think this works, but do we feel like the real problem is displaying the wrong information or using an instance variable instead of the AR object? Would like your opinion @kennyadsl.
This could be a solution (I'm wondering if using only I'm taking a look at https://github.com/weppos/breadcrumbs_on_rails which is old and unmaintend but it's very few lines of code that we could add to solidus easily maybe. It provides an interface in the controller to set breadcrumbs, this way we could maybe define breadcrumbs before calling the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this simple fix for the edge case reported in #3149
Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
@jtapia would like to get this in. Could you rebase? |
@aldesantis done |
@jtapia thanks! |
Issue
Preview