Skip to content
This repository has been archived by the owner on Aug 17, 2017. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Do not cache the params as it apparently interferes with wrap paramet…
…ers on the timing
  • Loading branch information
dhh committed Mar 14, 2012
1 parent decc2bb commit 2b12bce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/action_controller/parameters.rb
Expand Up @@ -48,7 +48,7 @@ module StrongParameters
end

def params
@_tainted_params ||= Parameters.new(super)
Parameters.new(super)
end
end
end
Expand Down

0 comments on commit 2b12bce

Please sign in to comment.