Merge pull request #37228 from eugeneius/action_dispatch_response_autoload

Allow ActionDispatch::Response to be autoloaded
This commit is contained in:
Ryuta Kamizono 2019-09-18 15:29:53 +09:00 committed by GitHub
commit 19a2d5c112
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -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