mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
just require the template resolver
LookupContext is eagerly loaded, and FallbackFileSystemResolver is referenced at the class level. Just require the resolver from the eagerly loaded class rather than jumping through autoload hoops
This commit is contained in:
parent
e8fcd599ba
commit
3fbff7811b
2 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,6 @@ module ActionView
|
|||
autoload_at "action_view/template/resolver" do
|
||||
autoload :Resolver
|
||||
autoload :PathResolver
|
||||
autoload :FileSystemResolver
|
||||
autoload :OptimizedFileSystemResolver
|
||||
autoload :FallbackFileSystemResolver
|
||||
end
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
require 'thread_safe'
|
||||
require 'active_support/core_ext/module/remove_method'
|
||||
require 'active_support/core_ext/module/attribute_accessors'
|
||||
require 'action_view/template/resolver'
|
||||
|
||||
module ActionView
|
||||
# = Action View Lookup Context
|
||||
|
|
Loading…
Reference in a new issue