From 94ee86c1626373bc6caa44ef512f319e4139fa9e Mon Sep 17 00:00:00 2001 From: Matt Hall Date: Thu, 17 Mar 2016 17:13:20 -0400 Subject: switched layout :mailer to a string so that mail layout can be properly found and mail can be delivered properly --- .../lib/rails/generators/mailer/templates/application_mailer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actionmailer/lib/rails/generators/mailer/templates/application_mailer.rb b/actionmailer/lib/rails/generators/mailer/templates/application_mailer.rb index 02e8d3e454..71fe4d162d 100644 --- a/actionmailer/lib/rails/generators/mailer/templates/application_mailer.rb +++ b/actionmailer/lib/rails/generators/mailer/templates/application_mailer.rb @@ -1,4 +1,4 @@ class ApplicationMailer < ActionMailer::Base default from: 'from@example.com' - layout :mailer + layout "mailer" end -- cgit v1.2.3