Skip to content

Commit a39098d

Browse files
committed
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.
1 parent 9a6ab5e commit a39098d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

actionpack/lib/action_controller.rb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ module ActionController
1818
end
1919

2020
autoload_under "metal" do
21-
eager_autoload do
22-
autoload :Live
23-
end
24-
2521
autoload :ConditionalGet
2622
autoload :ContentSecurityPolicy
2723
autoload :Cookies
@@ -37,6 +33,7 @@ module ActionController
3733
autoload :BasicImplicitRender
3834
autoload :ImplicitRender
3935
autoload :Instrumentation
36+
autoload :Live
4037
autoload :Logging
4138
autoload :MimeResponds
4239
autoload :ParamsWrapper

0 commit comments

Comments
 (0)