diff options
Diffstat (limited to 'actionmailer/lib/rails/generators/mailer/templates')
-rw-r--r-- | actionmailer/lib/rails/generators/mailer/templates/mailer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionmailer/lib/rails/generators/mailer/templates/mailer.rb b/actionmailer/lib/rails/generators/mailer/templates/mailer.rb index 88b074cef5..aaa1f79732 100644 --- a/actionmailer/lib/rails/generators/mailer/templates/mailer.rb +++ b/actionmailer/lib/rails/generators/mailer/templates/mailer.rb @@ -1,7 +1,7 @@ <% module_namespacing do -%> class <%= class_name %> < ActionMailer::Base default <%= key_value :from, '"from@example.com"' %> -<% for action in actions -%> +<% actions.each do |action| -%> # Subject can be set in your I18n file at config/locales/en.yml # with the following lookup: |