summaryrefslogtreecommitdiffstats
path: root/app/models/mailer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/mailer.rb')
-rw-r--r--app/models/mailer.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/mailer.rb b/app/models/mailer.rb
index f62e24d51..591f4e97c 100644
--- a/app/models/mailer.rb
+++ b/app/models/mailer.rb
@@ -420,13 +420,13 @@ class Mailer < ActionMailer::Base
def render_multipart(method_name, body)
if Setting.plain_text_mail?
content_type "text/plain"
- body render(:file => "#{method_name}.text.plain.rhtml",
+ body render(:file => "#{method_name}.text.erb",
:body => body,
:layout => 'mailer.text.erb')
else
content_type "multipart/alternative"
part :content_type => "text/plain",
- :body => render(:file => "#{method_name}.text.plain.rhtml",
+ :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)