diff options
author | José Valim <jose.valim@gmail.com> | 2009-11-09 16:35:31 -0200 |
---|---|---|
committer | Yehuda Katz <wycats@Yehuda-Katz.local> | 2009-11-09 10:57:53 -0800 |
commit | 4a1f43878105d701fd2dd769ec3cf7e81d133c09 (patch) | |
tree | 6265b931ce5c5d26506914b5fb7eb9323ba41adb /actionmailer/lib/action_mailer | |
parent | 83f329f5f30567a10bc96410da230bf986db8ad4 (diff) | |
download | rails-4a1f43878105d701fd2dd769ec3cf7e81d133c09.tar.gz rails-4a1f43878105d701fd2dd769ec3cf7e81d133c09.tar.bz2 rails-4a1f43878105d701fd2dd769ec3cf7e81d133c09.zip |
Change mailer subjects lookup.
Diffstat (limited to 'actionmailer/lib/action_mailer')
-rw-r--r-- | actionmailer/lib/action_mailer/base.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb index 293af01bbf..6a5a598f94 100644 --- a/actionmailer/lib/action_mailer/base.rb +++ b/actionmailer/lib/action_mailer/base.rb @@ -465,8 +465,8 @@ module ActionMailer #:nodoc: create_parts # Set the subject if not set yet - @subject ||= I18n.t(method_name, :scope => [:actionmailer, :subjects, mailer_name], - :default => method_name.humanize) + @subject ||= I18n.t(:subject, :scope => [:actionmailer, mailer_name, method_name], + :default => method_name.humanize) # build the mail object itself @mail = create_mail |