Skip to content

Commit

Permalink
Fix #search_action_url for Rails 5 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer committed Sep 1, 2016
1 parent d914c53 commit 151a529
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/controllers/concerns/blacklight/catalog.rb
Expand Up @@ -178,9 +178,6 @@ def render_document_export_format format_name
# By default, any search action from a Blacklight::Catalog controller
# should use the current controller when constructing the route.
def search_action_url options = {}
raise ArgumentError, "Options was not a hash (#{options.class}" unless options.is_a? Hash
# We don't want to permit here because one of the options could be :only_path, which is an option, but not a parameter
# options.permit!
url_for(options.merge(action: 'index'))
end

Expand Down

0 comments on commit 151a529

Please sign in to comment.