replace ActionDispatch::Http::ParameterFilter with ActiveSupport::ParameterFilter
This commit is contained in:
parent
79c8dc0286
commit
4dc9010fbc
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue