1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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]
This commit is contained in:
Genadi Samokovarov 2016-02-29 16:54:52 +02:00
parent 8f96b5d52c
commit 51b547e2cd

View file

@ -1,4 +1,3 @@
require 'action_controller/metal/exceptions'
require 'active_support/core_ext/module/attribute_accessors'
require 'rack/utils'