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 search tips route arguments #2726

Merged
merged 1 commit into from
Dec 13, 2024
Merged

Fix search tips route arguments #2726

merged 1 commit into from
Dec 13, 2024

Conversation

corylown
Copy link
Contributor

Fixes no route error when visiting the General admin page (try going to https://exhibits-stage.stanford.edu/david-rumsey-map-collection/edit on stage). The route helper expects the exhibit_id as an argument. This change matches other calls to _exhibit_catalog_path helpers:

data-path="<%= search_exhibit_catalog_path(exhibit_id: @exhibit) %>"

data-path="<%= documents_list_exhibit_catalog_path(exhibit_id: @exhibit) %>"

@jcoyne jcoyne merged commit 9bc527f into main Dec 13, 2024
2 checks passed
@jcoyne jcoyne deleted the fix-search-tips-route-args branch December 13, 2024 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants