mirror of https://github.com/rails/rails
Load HTML in ActionView not ActionPack
HTML Scanner is part of ActionView and it should be loaded along with it
This commit is contained in:
parent
44bc45b014
commit
c40c362ec1
|
@ -47,7 +47,6 @@ module ActionController
|
|||
def self.eager_load!
|
||||
super
|
||||
ActionController::Caching.eager_load!
|
||||
HTML.eager_load!
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -85,6 +85,7 @@ module ActionView
|
|||
def self.eager_load!
|
||||
super
|
||||
ActionView::Template.eager_load!
|
||||
HTML.eager_load!
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue