Permalink
Browse files

brings a #:nodoc: back

  • Loading branch information...
1 parent a1639ad commit 3265516c50abe2b6946fc724fa50c1cf522126d3 @fxn fxn committed Apr 19, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionmailer/lib/action_mailer/base.rb
View
2 actionmailer/lib/action_mailer/base.rb
@@ -688,7 +688,7 @@ def set_content_type(m, user_content_type, class_default)
# Translates the +subject+ using Rails I18n class under <tt>[:actionmailer, mailer_scope, action_name]</tt> scope.
# If it does not find a translation for the +subject+ under the specified scope it will default to a
# humanized version of the <tt>action_name</tt>.
- def default_i18n_subject
+ def default_i18n_subject #:nodoc:
mailer_scope = self.class.mailer_name.gsub('/', '.')
I18n.t(:subject, :scope => [mailer_scope, action_name], :default => action_name.humanize)
end

0 comments on commit 3265516

Please sign in to comment.