Skip to content

Commit

Permalink
Merge pull request #283 from Plaristote/master
Browse files Browse the repository at this point in the history
remove deprecated use of ActionDispatch::Http::ParameterFilter
  • Loading branch information
johnmcaliley authored Apr 18, 2020
2 parents 325e083 + 4dc9010 commit 00d3a45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/impressionist_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def impressionist_subapp_filter(opts = {})

# creates a statment hash that contains default values for creating an impression via an AR relation.
def associative_create_statement(query_params={})
filter = ActionDispatch::Http::ParameterFilter.new(Rails.application.config.filter_parameters)
filter = ActiveSupport::ParameterFilter.new(Rails.application.config.filter_parameters)
query_params.reverse_merge!(
:controller_name => controller_name,
:action_name => action_name,
Expand Down

0 comments on commit 00d3a45

Please sign in to comment.