Skip to content

Commit

Permalink
Merge pull request #211 from scientist-softserv/fixing-parameter-arit…
Browse files Browse the repository at this point in the history
…y-issue

🐛 Address `ActionView::Template::Error`
  • Loading branch information
jeremyf authored Apr 1, 2024
2 parents bf318cf + f775ad6 commit d740498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/blacklight/blacklight_helper_behavior.rb
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ def document_index_view_type(query_params = params)
#
# @param [String] format suffix
# @yield
def with_format(format, _block)
def with_format(format, *, &block)
old_formats = formats
self.formats = [format]
yield
Expand Down

0 comments on commit d740498

Please sign in to comment.