diff --git a/app/models/mailer.rb b/app/models/mailer.rb index d0ee4b0..f62e24d 100644 --- a/app/models/mailer.rb +++ b/app/models/mailer.rb @@ -422,12 +422,12 @@ class Mailer < ActionMailer::Base content_type "text/plain" body render(:file => "#{method_name}.text.plain.rhtml", :body => body, - :layout => 'mailer.text.plain.erb') + :layout => 'mailer.text.erb') else content_type "multipart/alternative" part :content_type => "text/plain", :body => render(:file => "#{method_name}.text.plain.rhtml", - :body => body, :layout => 'mailer.text.plain.erb') + :body => body, :layout => 'mailer.text.erb') part :content_type => "text/html", :body => render_message("#{method_name}.text.html.rhtml", body) end diff --git a/app/views/layouts/mailer.text.plain.erb b/app/views/layouts/mailer.text.erb similarity index 100% rename from app/views/layouts/mailer.text.plain.erb rename to app/views/layouts/mailer.text.erb