aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer
diff options
context:
space:
mode:
authorHarshad Sabne <harshadsabne@users.noreply.github.com>2013-11-08 13:28:14 +0530
committerHarshad Sabne <harshadsabne@users.noreply.github.com>2013-11-08 13:28:14 +0530
commita1f1e6d9e20a8d527eff900a865a270be2c0d794 (patch)
tree965cc61026f4b606856cdc3b7e4d6effd18733ac /actionmailer
parent216ec8d559797a49197e80be8146d53811df62b6 (diff)
downloadrails-a1f1e6d9e20a8d527eff900a865a270be2c0d794.tar.gz
rails-a1f1e6d9e20a8d527eff900a865a270be2c0d794.tar.bz2
rails-a1f1e6d9e20a8d527eff900a865a270be2c0d794.zip
Update README.rdoc [ci skip]
Highlighted code
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.