Merge pull request #283 from Plaristote/master
remove deprecated use of ActionDispatch::Http::ParameterFilter
This commit is contained in:
commit
00d3a457c7
|
@ -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