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
This commit is contained in:
parent
a4c4edacfd
commit
ef962b84d7
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue