diff options
author | José Valim <jose.valim@gmail.com> | 2010-06-12 15:33:12 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-06-12 15:33:12 +0200 |
commit | 30eaecb3df707ec45859ab1cddb122f811c043a1 (patch) | |
tree | 5f8e1e8529255ae602db6414dfd5b6e07dc67afc /actionmailer/lib/action_mailer | |
parent | b308a6030efdffabc5ca3f0b6b148c972d33fe30 (diff) | |
download | rails-30eaecb3df707ec45859ab1cddb122f811c043a1.tar.gz rails-30eaecb3df707ec45859ab1cddb122f811c043a1.tar.bz2 rails-30eaecb3df707ec45859ab1cddb122f811c043a1.zip |
subject is automatically looked up on I18n using mailer_name and action_name as scope as in t('.subject')
Diffstat (limited to 'actionmailer/lib/action_mailer')
-rw-r--r-- | actionmailer/lib/action_mailer/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb index 7da033b6af..2e4002c39c 100644 --- a/actionmailer/lib/action_mailer/base.rb +++ b/actionmailer/lib/action_mailer/base.rb @@ -657,7 +657,7 @@ module ActionMailer #:nodoc: def default_i18n_subject #:nodoc: mailer_scope = self.class.mailer_name.gsub('/', '.') - I18n.t(:subject, :scope => [:actionmailer, mailer_scope, action_name], :default => action_name.humanize) + I18n.t(:subject, :scope => [mailer_scope, action_name], :default => action_name.humanize) end def collect_responses_and_parts_order(headers) #:nodoc: |