aboutsummaryrefslogtreecommitdiffstats
path: root/lib/patch_mailer_paths.rb
diff options
context:
space:
mode:
authorGareth Rees <gareth@garethrees.co.uk>2016-12-14 11:28:50 +0000
committerGareth Rees <gareth@garethrees.co.uk>2016-12-14 11:28:50 +0000
commit05dd15e00d289dbe558dfda6dfbf8b24d74e678a (patch)
treebae42727829448da6e796ee90a36a9bc21874386 /lib/patch_mailer_paths.rb
parentb26b78c093b751b27ed77138c3c34f365dc9f649 (diff)
parent041b416fd4bbd7286252f24135f5a2bc19e36395 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'lib/patch_mailer_paths.rb')
-rw-r--r--lib/patch_mailer_paths.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/patch_mailer_paths.rb b/lib/patch_mailer_paths.rb
index 7a524fa..99da10a 100644
--- a/lib/patch_mailer_paths.rb
+++ b/lib/patch_mailer_paths.rb
@@ -3,8 +3,8 @@
# See http://stackoverflow.com/questions/7072758/plugin-not-reloading-in-development-mode
#
Rails.configuration.to_prepare do
- # Override mailer templates with theme ones. Note doing this in a before_filter,
- # as we do with the controller paths, doesn't seem to have any effect when
- # running in production
- ActionMailer::Base.prepend_view_path File.join(File.dirname(__FILE__), "views")
+ # Override mailer templates with theme ones. Note doing this in a before_filter,
+ # as we do with the controller paths, doesn't seem to have any effect when
+ # running in production
+ ActionMailer::Base.prepend_view_path File.join(File.dirname(__FILE__), "views")
end