aboutsummaryrefslogtreecommitdiffstats
path: root/lib/patch_mailer_paths.rb
diff options
context:
space:
mode:
authorutvk <utvk@users.noreply.github.com>2016-05-11 22:44:14 +0200
committerutvk <utvk@users.noreply.github.com>2016-05-11 22:44:14 +0200
commit9e8ef918110f966bdf88b421842c56786efb4a6c (patch)
tree37459de5d1c38d7a1fc17cd16615e4e0bbaab35d /lib/patch_mailer_paths.rb
parentd72388b7a7cac8a84050ecb77caf98d4260a206b (diff)
parentd3a5a2c54b2222e570c23ef57d4957891730aa92 (diff)
Merge branch 'master' into norway2
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