aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorGenadi Samokovarov <gsamokovarov@gmail.com>2016-02-29 16:54:52 +0200
committerGenadi Samokovarov <gsamokovarov@gmail.com>2016-02-29 16:54:52 +0200
commit51b547e2cd1ded7a30df2b6bae4dd7ba3cff99c2 (patch)
treefca6e90c86a8555f7c21c4f83c4ae159ec2b63a8 /actionpack
parent8f96b5d52c46f44613a5146a62c2aebbe231432d (diff)
downloadrails-51b547e2cd1ded7a30df2b6bae4dd7ba3cff99c2.tar.gz
rails-51b547e2cd1ded7a30df2b6bae4dd7ba3cff99c2.tar.bz2
rails-51b547e2cd1ded7a30df2b6bae4dd7ba3cff99c2.zip
Drop Action Controller require in ActionDispatch::ExceptionWrapper
We only reference the Action Controller error classes by name in ActionDispatch::ExceptionWrapper, so there is no need to explicitly require them. It drops a tiny coupling between Action Dispatch and Action Controller, so it makes me feel warm inside. We still have a lot of others AC requires in the AD code base, but here, we can save it. [ci skip]
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_dispatch/middleware/exception_wrapper.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/exception_wrapper.rb b/actionpack/lib/action_dispatch/middleware/exception_wrapper.rb
index 3b61824cc9..59edc66086 100644
--- a/actionpack/lib/action_dispatch/middleware/exception_wrapper.rb
+++ b/actionpack/lib/action_dispatch/middleware/exception_wrapper.rb
@@ -1,4 +1,3 @@
-require 'action_controller/metal/exceptions'
require 'active_support/core_ext/module/attribute_accessors'
require 'rack/utils'