diff options
Diffstat (limited to 'railties/lib')
-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 11aa8a534e..39140065b0 100644 --- a/railties/lib/initializer.rb +++ b/railties/lib/initializer.rb @@ -371,7 +371,7 @@ Run `rake gems:install` to install the missing gems. if configuration.frameworks.include?(:action_view) if configuration.cache_classes ActionController::Base.view_paths = configuration.view_path if configuration.frameworks.include?(:action_controller) - ActionMailer::Base.template_root = view_path if configuration.frameworks.include?(:action_mailer) + ActionMailer::Base.template_root = configuration.view_path if configuration.frameworks.include?(:action_mailer) end end end |