diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-09-26 16:23:26 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-09-26 16:23:26 +0000 |
commit | ef962b84d7083b2b4d290d64b7089b596073c7be (patch) | |
tree | 91ee0de4a796fb0099b006cc2017647505f1366b /app/models/mailer.rb | |
parent | a4c4edacfdf7665c29115b8707cb2814c11abaaa (diff) | |
download | redmine-ef962b84d7083b2b4d290d64b7089b596073c7be.tar.gz redmine-ef962b84d7083b2b4d290d64b7089b596073c7be.zip |
Rails3: mail: rename app/views/mailer/*.text.html.rhtml to app/views/mailer/*.html.erb (#6317)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7537 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/mailer.rb')
-rw-r--r-- | app/models/mailer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/mailer.rb b/app/models/mailer.rb index 591f4e97c..4f5be2fc1 100644 --- a/app/models/mailer.rb +++ b/app/models/mailer.rb @@ -429,7 +429,7 @@ class Mailer < ActionMailer::Base :body => render(:file => "#{method_name}.text.erb", :body => body, :layout => 'mailer.text.erb') part :content_type => "text/html", - :body => render_message("#{method_name}.text.html.rhtml", body) + :body => render_message("#{method_name}.html.erb", body) end end |