diff options
author | Mark Rushakof <mark.rushakoff@gmail.com> | 2012-04-27 00:00:30 -0700 |
---|---|---|
committer | Mark Rushakof <mark.rushakoff@gmail.com> | 2012-04-27 00:00:30 -0700 |
commit | 8cc4159018929fb4b0aa431b7041f6a66f160180 (patch) | |
tree | 3b6028a1cebeda9bb7a4f1babaf539a09d045289 /actionmailer | |
parent | 504e539166ab3528e6377ae8bcf5ddacb3572729 (diff) | |
download | rails-8cc4159018929fb4b0aa431b7041f6a66f160180.tar.gz rails-8cc4159018929fb4b0aa431b7041f6a66f160180.tar.bz2 rails-8cc4159018929fb4b0aa431b7041f6a66f160180.zip |
Use <tt>Foo::Bar</tt> instead of +Foo::Bar+
The latter doesn't render as code in HTML output.
Regex used in Rubymine to locate the latter form:
(\+)(:*\w+:(?::|\w)+)(\+)
Diffstat (limited to 'actionmailer')
-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 c508512ff6..2da3b344ba 100644 --- a/actionmailer/lib/action_mailer/base.rb +++ b/actionmailer/lib/action_mailer/base.rb @@ -486,7 +486,7 @@ module ActionMailer #:nodoc: self.class.mailer_name end - # Allows you to pass random and unusual headers to the new +Mail::Message+ object + # Allows you to pass random and unusual headers to the new <tt>Mail::Message</tt> object # which will add them to itself. # # headers['X-Special-Domain-Specific-Header'] = "SecretValue" |