diff options
author | Matt Hall <halldmatthew@gmail.com> | 2016-03-17 17:13:20 -0400 |
---|---|---|
committer | Matt Hall <halldmatthew@gmail.com> | 2016-03-17 17:13:20 -0400 |
commit | 94ee86c1626373bc6caa44ef512f319e4139fa9e (patch) | |
tree | 40743f34620a17b1d631d4b86538ddf166edcb75 | |
parent | 47c0a3990a44bbf678e06605eb77f000147dac70 (diff) | |
download | rails-94ee86c1626373bc6caa44ef512f319e4139fa9e.tar.gz rails-94ee86c1626373bc6caa44ef512f319e4139fa9e.tar.bz2 rails-94ee86c1626373bc6caa44ef512f319e4139fa9e.zip |
switched layout :mailer to a string so that mail layout can be properly found and mail can be delivered properly
-rw-r--r-- | actionmailer/lib/rails/generators/mailer/templates/application_mailer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |