aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch
diff options
context:
space:
mode:
authorGuillermo Iguaran <guilleiguaran@gmail.com>2013-11-02 14:30:03 -0500
committerGuillermo Iguaran <guilleiguaran@gmail.com>2013-11-02 14:30:03 -0500
commitf886fe2d8ccc900cde2629577e5c0be8c7d4c67f (patch)
treef2d92e0874f4984f8a2240debfe657c85b4a0792 /actionpack/lib/action_dispatch
parentdb41eb8a6ea88b854bf5cd11070ea4245e1639c5 (diff)
downloadrails-f886fe2d8ccc900cde2629577e5c0be8c7d4c67f.tar.gz
rails-f886fe2d8ccc900cde2629577e5c0be8c7d4c67f.tar.bz2
rails-f886fe2d8ccc900cde2629577e5c0be8c7d4c67f.zip
Revert "Merge pull request #9660 from sebasoga/change_strong_parameters_require_behaviour"
This reverts commit c2b5a8e61ba0f35015e6ac949a5c8fce2042a1f2, reversing changes made to 1918b12c0429caec2a6134ac5e5b42ade103fe90. See: https://github.com/rails/rails/pull/9660#issuecomment-27627493
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r--actionpack/lib/action_dispatch/middleware/exception_wrapper.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/exception_wrapper.rb b/actionpack/lib/action_dispatch/middleware/exception_wrapper.rb
index daddaccadd..37bf9c8c9f 100644
--- a/actionpack/lib/action_dispatch/middleware/exception_wrapper.rb
+++ b/actionpack/lib/action_dispatch/middleware/exception_wrapper.rb
@@ -15,8 +15,7 @@ module ActionDispatch
'ActionController::InvalidAuthenticityToken' => :unprocessable_entity,
'ActionDispatch::ParamsParser::ParseError' => :bad_request,
'ActionController::BadRequest' => :bad_request,
- 'ActionController::ParameterMissing' => :bad_request,
- 'ActionController::EmptyParameter' => :bad_request
+ 'ActionController::ParameterMissing' => :bad_request
)
cattr_accessor :rescue_templates