aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer
diff options
context:
space:
mode:
authorWaynn Lue <WLGades@gmail.com>2011-07-31 11:56:47 -0700
committerXavier Noria <fxn@hashref.com>2011-08-13 16:22:13 -0700
commit55296ec0ea4d65f1eb8a41cdd314ba8bc984b2b4 (patch)
tree054a288f6affcbcd3346a757c8037991f1025e87 /actionmailer
parent8f6959d5a4aa933b31fdb53f2687301dc5da0b47 (diff)
downloadrails-55296ec0ea4d65f1eb8a41cdd314ba8bc984b2b4.tar.gz
rails-55296ec0ea4d65f1eb8a41cdd314ba8bc984b2b4.tar.bz2
rails-55296ec0ea4d65f1eb8a41cdd314ba8bc984b2b4.zip
typo in "wont"
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 de4740b2ed..42e612cd07 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 wont 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 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.
Note that every value you set with this method will get over written if you use the same key in your mailer method.