@@ -422,12 +422,12 class Mailer < ActionMailer::Base | |||||
422 | content_type "text/plain" |
|
422 | content_type "text/plain" | |
423 | body render(:file => "#{method_name}.text.plain.rhtml", |
|
423 | body render(:file => "#{method_name}.text.plain.rhtml", | |
424 | :body => body, |
|
424 | :body => body, | |
425 |
:layout => 'mailer.text. |
|
425 | :layout => 'mailer.text.erb') | |
426 | else |
|
426 | else | |
427 | content_type "multipart/alternative" |
|
427 | content_type "multipart/alternative" | |
428 | part :content_type => "text/plain", |
|
428 | part :content_type => "text/plain", | |
429 | :body => render(:file => "#{method_name}.text.plain.rhtml", |
|
429 | :body => render(:file => "#{method_name}.text.plain.rhtml", | |
430 |
:body => body, :layout => 'mailer.text. |
|
430 | :body => body, :layout => 'mailer.text.erb') | |
431 | part :content_type => "text/html", |
|
431 | part :content_type => "text/html", | |
432 | :body => render_message("#{method_name}.text.html.rhtml", body) |
|
432 | :body => render_message("#{method_name}.text.html.rhtml", body) | |
433 | end |
|
433 | end |
1 | NO CONTENT: file renamed from app/views/layouts/mailer.text.plain.erb to app/views/layouts/mailer.text.erb |
|
NO CONTENT: file renamed from app/views/layouts/mailer.text.plain.erb to app/views/layouts/mailer.text.erb |
General Comments 0
You need to be logged in to leave comments.
Login now