Skip to content
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 breadcrumbs for polymorphic paths #3268

Merged
merged 1 commit into from
Nov 18, 2024
Merged

fix breadcrumbs for polymorphic paths #3268

merged 1 commit into from
Nov 18, 2024

Conversation

dnoneill
Copy link
Contributor

@dnoneill dnoneill commented Nov 18, 2024

closes sul-dlss/exhibits#2638

Fix was due to me using the wrong way to compute path. I looked at how breadcrumb_rails did this and updated it to use the else in here: https://github.com/weppos/breadcrumbs_on_rails/blob/4e74436c0f3f5cdc16d05de92b67d97a45ba545a/lib/breadcrumbs_on_rails/breadcrumbs.rb#L56C7-L65C10. From what I can tell spotlight isn't using Proc or Symbols so I don't think we need to add it back in.

@hudajkhan
Copy link
Contributor

Works as explained.

@hudajkhan hudajkhan merged commit 9e21452 into main Nov 18, 2024
7 checks passed
@hudajkhan hudajkhan deleted the breadcrumb-bug branch November 18, 2024 23:42
corylown added a commit that referenced this pull request Nov 19, 2024
backport fix breadcrumbs for polymorphic paths #3268
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants