diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-07-04 16:09:00 -0400 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-07-04 16:09:00 -0400 |
commit | 9b3054384b3233c6be4284779010997ab7bc15b5 (patch) | |
tree | 3810310d2fad42ceaf1cbce21d3b596d4426e773 /actionpack/lib/action_controller | |
parent | 4c8332c2963a33cef5d75fdcaabb65b8947fbfcd (diff) | |
download | rails-9b3054384b3233c6be4284779010997ab7bc15b5.tar.gz rails-9b3054384b3233c6be4284779010997ab7bc15b5.tar.bz2 rails-9b3054384b3233c6be4284779010997ab7bc15b5.zip |
Fix end
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r-- | actionpack/lib/action_controller/railtie.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/railtie.rb b/actionpack/lib/action_controller/railtie.rb index eab0f11c52..31db7518f1 100644 --- a/actionpack/lib/action_controller/railtie.rb +++ b/actionpack/lib/action_controller/railtie.rb @@ -30,6 +30,7 @@ module ActionController end ActionController::Parameters.action_on_unpermitted_parameters = options.delete(:action_on_unpermitted_parameters) do (Rails.env.test? || Rails.env.development?) ? :log : false + end end end |