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

Don't eager load ActionController::Live

This module must be included into a controller before it can be used,
which means it will be eager loaded along with the application.
This commit is contained in:
Eugene Kenny 2021-07-19 00:58:02 +01:00
parent 9a6ab5e89e
commit a39098dc85

View file

@ -18,10 +18,6 @@ module ActionController
end end
autoload_under "metal" do autoload_under "metal" do
eager_autoload do
autoload :Live
end
autoload :ConditionalGet autoload :ConditionalGet
autoload :ContentSecurityPolicy autoload :ContentSecurityPolicy
autoload :Cookies autoload :Cookies
@ -37,6 +33,7 @@ module ActionController
autoload :BasicImplicitRender autoload :BasicImplicitRender
autoload :ImplicitRender autoload :ImplicitRender
autoload :Instrumentation autoload :Instrumentation
autoload :Live
autoload :Logging autoload :Logging
autoload :MimeResponds autoload :MimeResponds
autoload :ParamsWrapper autoload :ParamsWrapper