aboutsummaryrefslogtreecommitdiffstats
path: root/lib/patch_mailer_paths.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2016-04-26 11:39:52 +0100
committerLouise Crow <louise.crow@gmail.com>2016-04-26 11:39:52 +0100
commitc7ea96ca87e6a4293247c47b7e4991477de56967 (patch)
tree7eb1ddca092342f245b1a877764085ad04603b89 /lib/patch_mailer_paths.rb
parentc596594a6907ea478a3f62a6adfa8688d60412a2 (diff)
parent62b5ac9fab138f17bfe8cfa7654af75ca341f55b (diff)
Merge branch 'remove-examples'
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