Skip to content

Commit

Permalink
Remove unnecessary rubocop ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Oct 21, 2022
1 parent da7792c commit d2337b0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/blacklight/parameters.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@ class Parameters
# Sanitize the search parameters by removing unnecessary parameters
# from the provided parameters.
# @param [Hash] params parameters
# rubocop:disable Style/CollectionCompact can be removed when we drop Rails 6.0 support
def self.sanitize params
params.reject { |_k, v| v.nil? }
.except(:action, :controller, :id, :commit, :utf8)
end
# rubocop:enable Style/CollectionCompact

# rubocop:disable Naming/MethodParameterName
# Merge two Rails strong_params-style permissions into a single list of permitted parameters,
Expand Down

0 comments on commit d2337b0

Please sign in to comment.