Permalink
Browse files

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
  • Loading branch information...
1 parent e8fcd59 commit 3fbff7811bc7142e6f4142f807dd7b6ebd766a13 @tenderlove tenderlove committed Jan 31, 2014
Showing with 1 addition and 1 deletion.
  1. +0 −1 actionview/lib/action_view.rb
  2. +1 −0 actionview/lib/action_view/lookup_context.rb
@@ -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

0 comments on commit 3fbff78

Please sign in to comment.