提交 9346e6dc 编写于 作者: R Ryuta Kamizono 提交者: Eugene Kenny

Merge pull request #37228 from eugeneius/action_dispatch_response_autoload

Allow ActionDispatch::Response to be autoloaded
上级 3a6c14d0
......@@ -3,7 +3,6 @@
require "active_support/rails"
require "abstract_controller"
require "action_dispatch"
require "action_controller/metal/live"
require "action_controller/metal/strong_parameters"
module ActionController
......@@ -21,6 +20,10 @@ module ActionController
end
autoload_under "metal" do
eager_autoload do
autoload :Live
end
autoload :ConditionalGet
autoload :ContentSecurityPolicy
autoload :Cookies
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册