Permalink
Browse files

Load HTML in ActionView not ActionPack

HTML Scanner is part of ActionView and it should be loaded along with it
  • Loading branch information...
1 parent 44bc45b commit c40c362ec1ac9ec96e92ddb046b67b713a434e48 @lukaszx0 lukaszx0 committed Aug 11, 2013
Showing with 1 addition and 1 deletion.
  1. +0 −1 actionpack/lib/action_controller.rb
  2. +1 −0 actionview/lib/action_view.rb
View
1 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
View
1 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

0 comments on commit c40c362

Please sign in to comment.