diff options
author | José Valim and Mikel Lindsaar <pair@programming.com> | 2010-01-26 11:48:25 +0100 |
---|---|---|
committer | José Valim and Mikel Lindsaar <pair@programming.com> | 2010-01-26 11:48:25 +0100 |
commit | 8fabcb2eca03150b1c0c3dbc88dd13123f76894f (patch) | |
tree | 3108f425650168b36920aa7bd8a36644cf35394c /railties/lib/generators/rails/mailer | |
parent | 39a1b06f13221e00ab38dff960155cb5fe9eaabb (diff) | |
download | rails-8fabcb2eca03150b1c0c3dbc88dd13123f76894f.tar.gz rails-8fabcb2eca03150b1c0c3dbc88dd13123f76894f.tar.bz2 rails-8fabcb2eca03150b1c0c3dbc88dd13123f76894f.zip |
Update generators to use new defaults.
Diffstat (limited to 'railties/lib/generators/rails/mailer')
-rw-r--r-- | railties/lib/generators/rails/mailer/templates/mailer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/generators/rails/mailer/templates/mailer.rb b/railties/lib/generators/rails/mailer/templates/mailer.rb index df9d0a0923..cdc6e41266 100644 --- a/railties/lib/generators/rails/mailer/templates/mailer.rb +++ b/railties/lib/generators/rails/mailer/templates/mailer.rb @@ -1,5 +1,5 @@ class <%= class_name %> < ActionMailer::Base - self.defaults = { :from => "from@example.com" } + self.defaults :from => "from@example.com" <% for action in actions -%> # Subject can be set in your I18n file at config/locales/en.yml |