mirror of https://github.com/rails/rails
Merge pull request #37228 from eugeneius/action_dispatch_response_autoload
Allow ActionDispatch::Response to be autoloaded
This commit is contained in:
commit
19a2d5c112
|
@ -2,7 +2,6 @@
|
|||
|
||||
require "abstract_controller"
|
||||
require "action_dispatch"
|
||||
require "action_controller/metal/live"
|
||||
require "action_controller/metal/strong_parameters"
|
||||
|
||||
module ActionController
|
||||
|
@ -20,6 +19,10 @@ module ActionController
|
|||
end
|
||||
|
||||
autoload_under "metal" do
|
||||
eager_autoload do
|
||||
autoload :Live
|
||||
end
|
||||
|
||||
autoload :ConditionalGet
|
||||
autoload :ContentSecurityPolicy
|
||||
autoload :Cookies
|
||||
|
|
Loading…
Reference in New Issue