diff options
Diffstat (limited to 'lib/patch_mailer_paths.rb')
-rw-r--r-- | lib/patch_mailer_paths.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/patch_mailer_paths.rb b/lib/patch_mailer_paths.rb index d0a0b23..66348fb 100644 --- a/lib/patch_mailer_paths.rb +++ b/lib/patch_mailer_paths.rb @@ -2,8 +2,7 @@ # and at startup in production - to patch existing app classes. # See http://stackoverflow.com/questions/7072758/plugin-not-reloading-in-development-mode # -require 'dispatcher' -Dispatcher.to_prepare do +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 |