diff options
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/initializer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/initializer.rb b/railties/lib/initializer.rb index 9148bddaf2..1aa71c31b5 100644 --- a/railties/lib/initializer.rb +++ b/railties/lib/initializer.rb @@ -401,7 +401,7 @@ Run `rake gems:install` to install the missing gems. def load_view_paths if configuration.frameworks.include?(:action_view) if configuration.cache_classes - view_path = ActionView::Template::FileSystemPath.new(configuration.view_path) + view_path = ActionView::FileSystemResolverWithFallback.new(configuration.view_path) ActionController::Base.view_paths = view_path if configuration.frameworks.include?(:action_controller) ActionMailer::Base.template_root = view_path if configuration.frameworks.include?(:action_mailer) end |