Skip to content

Commit 4dbc62d

Browse files
committed
e-mail => email, and subject/verb agreement
1 parent 6a45a69 commit 4dbc62d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

actionmailer/README.rdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Or you can just chain the methods together like:
7474

7575
== Setting defaults
7676

77-
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.
77+
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 email messages have, 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.
7878

7979
Note that every value you set with this method will get overwritten if you use the same key in your mailer method.
8080

0 commit comments

Comments
 (0)