##// END OF EJS Templates
Rails3: mail: rename app/views/layouts/mailer.text.plain.erb to app/views/layouts/mailer.text.erb (#6317)...
Toshi MARUYAMA -
r7414:c534c9e984d3
parent child
Show More
@@ -422,12 +422,12 class Mailer < ActionMailer::Base
422 422 content_type "text/plain"
423 423 body render(:file => "#{method_name}.text.plain.rhtml",
424 424 :body => body,
425 :layout => 'mailer.text.plain.erb')
425 :layout => 'mailer.text.erb')
426 426 else
427 427 content_type "multipart/alternative"
428 428 part :content_type => "text/plain",
429 429 :body => render(:file => "#{method_name}.text.plain.rhtml",
430 :body => body, :layout => 'mailer.text.plain.erb')
430 :body => body, :layout => 'mailer.text.erb')
431 431 part :content_type => "text/html",
432 432 :body => render_message("#{method_name}.text.html.rhtml", body)
433 433 end
1 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