Skip to content

Commit

Permalink
fixed wrongly removed bit
Browse files Browse the repository at this point in the history
  • Loading branch information
Christy Karpinski authored and Christy Karpinski committed Apr 11, 2024
1 parent 3b87960 commit 86f5ef9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/helpers/blacklight/blacklight_helper_behavior.rb
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,9 @@ def document_index_view_type(query_params = params)
#
# @param [String] format suffix
# @yield
def with_format(format, *)
# rubocop:disable Lint/UnusedMethodArgument
def with_format(format, *, &block)
# rubocop:enable Lint/UnusedMethodArgument
old_formats = formats
self.formats = [format]
yield
Expand Down

0 comments on commit 86f5ef9

Please sign in to comment.