replace ActionDispatch::Http::ParameterFilter with ActiveSupport::ParameterFilter

This commit is contained in:
Michael 2020-04-05 17:45:39 +02:00
parent 79c8dc0286
commit 4dc9010fbc
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ module ImpressionistController
# 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,