diff --git a/actionpack/lib/action_controller.rb b/actionpack/lib/action_controller.rb index 0233937a251..d6b1908ccb9 100644 --- a/actionpack/lib/action_controller.rb +++ b/actionpack/lib/action_controller.rb @@ -47,7 +47,6 @@ module ActionController def self.eager_load! super ActionController::Caching.eager_load! - HTML.eager_load! end end diff --git a/actionview/lib/action_view.rb b/actionview/lib/action_view.rb index a0ba61dd07a..39c0c6c8563 100644 --- a/actionview/lib/action_view.rb +++ b/actionview/lib/action_view.rb @@ -85,6 +85,7 @@ module ActionView def self.eager_load! super ActionView::Template.eager_load! + HTML.eager_load! end end