Skip to content

Conversation

@marlo-longley
Copy link
Contributor

Fixes #5914

@dnoneill
Copy link
Contributor

dnoneill commented Aug 1, 2025

@marlo-longley were you able to track down how this url was formed?

@@ -1,5 +1,5 @@
<% if @spines.present? %>
<turbo-frame id="filmstrip_<%= params[:call_number].gsub(' ', '-') %>">
<turbo-frame id="filmstrip_<%= params[:call_number]&.gsub(' ', '-') %>">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we even render this view if call_number isn't present? Can we add params.require(:call_number) into the controller?

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.

[SearchWorks/prod] NoMethodError: undefined method 'gsub' for nil

4 participants