diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-09-06 17:34:14 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-09-06 17:34:14 +0000 |
commit | ef8c3932903c5ec4bf13cea51d32976f755d8457 (patch) | |
tree | a2fc0f7e38ad034624df66684142983e0b588c81 | |
parent | bcb4c2cde49eb8791e6409a711da90b43fbb858b (diff) | |
download | redmine-ef8c3932903c5ec4bf13cea51d32976f755d8457.tar.gz redmine-ef8c3932903c5ec4bf13cea51d32976f755d8457.zip |
Let plugin override mailer views (#11776).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10304 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | lib/redmine/plugin.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/redmine/plugin.rb b/lib/redmine/plugin.rb index c3f41501c..dae51ee43 100644 --- a/lib/redmine/plugin.rb +++ b/lib/redmine/plugin.rb @@ -82,6 +82,7 @@ module Redmine #:nodoc: view_path = File.join(p.directory, 'app', 'views') if File.directory?(view_path) ActionController::Base.prepend_view_path(view_path) + ActionMailer::Base.prepend_view_path(view_path) end # Adds the app/{controllers,helpers,models} directories of the plugin to the autoload path |