Skip to content

Commit

Permalink
Merge pull request #2446 from sul-dlss/argument-forwarding
Browse files Browse the repository at this point in the history
Update language spec to 3.2 and autocorrect
  • Loading branch information
corylown authored Jul 23, 2024
2 parents 2966fcc + 104ff04 commit 514889f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require:
- rubocop-factory_bot

AllCops:
TargetRubyVersion: 3.1
TargetRubyVersion: 3.2
DisplayCopNames: true
Exclude:
- 'bin/**/*'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ def render_grouped_document_index(response = @response)
view_context.render_document_index(exhibits)
end

def opensearch_catalog_url(*args)
view_context.spotlight.opensearch_search_across_url(*args)
def opensearch_catalog_url(*)
view_context.spotlight.opensearch_search_across_url(*)
end

def start_over_path(*_args)
Expand Down
4 changes: 2 additions & 2 deletions app/controllers/spotlight/exhibits_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
module Spotlight
# Override the upstream HomePagesController in order to inject range limit behaviors
class ExhibitsController
def search_action_url(*args)
main_app.search_search_across_url(*args)
def search_action_url(*)
main_app.search_search_across_url(*)
end

def blacklight_config
Expand Down

0 comments on commit 514889f

Please sign in to comment.