aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2013-11-24 20:00:24 +0100
committerXavier Noria <fxn@hashref.com>2013-11-24 20:00:24 +0100
commit17c29a0df0da5414570b025b642e90968e96cddc (patch)
treede1fd00eb2df79bf6bdcaeb74cc17365eaa53e33 /actionmailer
parentb4b30c048d22b14d51cc2f0f5b397bf899a9ce49 (diff)
parent28a6a7ea3bd627a8b6693a4cb8305b89467592b4 (diff)
downloadrails-17c29a0df0da5414570b025b642e90968e96cddc.tar.gz
rails-17c29a0df0da5414570b025b642e90968e96cddc.tar.bz2
rails-17c29a0df0da5414570b025b642e90968e96cddc.zip
Merge remote-tracking branch 'docrails/master'
Conflicts: activesupport/lib/active_support/core_ext/hash/deep_merge.rb activesupport/lib/active_support/core_ext/hash/keys.rb
Diffstat (limited to 'actionmailer')
-rw-r--r--actionmailer/README.rdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionmailer/README.rdoc b/actionmailer/README.rdoc
index 96dd0b1a2e..c3dcd3c3e4 100644
--- a/actionmailer/README.rdoc
+++ b/actionmailer/README.rdoc
@@ -74,7 +74,7 @@ Or you can just chain the methods together like:
== Setting defaults
-It is possible to set default values that will be used in every method in your Action Mailer class. To implement this functionality, you just call the public class method <tt>default</tt> which you get for free from ActionMailer::Base. This method accepts a Hash as the parameter. You can use any of the headers e-mail messages has, like <tt>:from</tt> as the key. You can also pass in a string as the key, like "Content-Type", but Action Mailer does this out of the box for you, so you won't need to worry about that. Finally, it is also possible to pass in a Proc that will get evaluated when it is needed.
+It is possible to set default values that will be used in every method in your Action Mailer class. To implement this functionality, you just call the public class method <tt>default</tt> which you get for free from <tt>ActionMailer::Base</tt>. This method accepts a Hash as the parameter. You can use any of the headers e-mail messages has, like <tt>:from</tt> as the key. You can also pass in a string as the key, like "Content-Type", but Action Mailer does this out of the box for you, so you won't need to worry about that. Finally, it is also possible to pass in a Proc that will get evaluated when it is needed.
Note that every value you set with this method will get overwritten if you use the same key in your mailer method.