aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/lib/action_mailer/base.rb
diff options
context:
space:
mode:
authorRishi Jain <rishi@joshsoftware.com>2014-10-26 00:17:51 -0500
committerZachary Scott <e@zzak.io>2014-10-26 10:09:22 -0700
commit747a1c9b281d274f00e2732b84f0f34b8bbce188 (patch)
tree9692a641c232bc73191605167393f854e41b2024 /actionmailer/lib/action_mailer/base.rb
parent89397d09ebb7ca4089f17820d05d5eb223913652 (diff)
downloadrails-747a1c9b281d274f00e2732b84f0f34b8bbce188.tar.gz
rails-747a1c9b281d274f00e2732b84f0f34b8bbce188.tar.bz2
rails-747a1c9b281d274f00e2732b84f0f34b8bbce188.zip
Making the actionmailer docs more explicit to understand [ci skip]
Diffstat (limited to 'actionmailer/lib/action_mailer/base.rb')
-rw-r--r--actionmailer/lib/action_mailer/base.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb
index 798241aaf8..a70bf1544a 100644
--- a/actionmailer/lib/action_mailer/base.rb
+++ b/actionmailer/lib/action_mailer/base.rb
@@ -84,7 +84,8 @@ module ActionMailer
# name as the method in your mailer model. For example, in the mailer defined above, the template at
# <tt>app/views/notifier/welcome.text.erb</tt> would be used to generate the email.
#
- # Variables defined in the model are accessible as instance variables in the view.
+ # Variables defined in the methods of your mailer model are accessible as instance variables in their
+ # corresponding view.
#
# Emails by default are sent in plain text, so a sample view for our model example might look like this:
#
@@ -702,8 +703,8 @@ module ActionMailer
# The main method that creates the message and renders the email templates. There are
# two ways to call this method, with a block, or without a block.
#
- # Both methods accept a headers hash. This hash allows you to specify the most used headers
- # in an email message, these are:
+ # It accepts a headers hash. This hash allows you to specify
+ # the most used headers in an email message, these are:
#
# * +:subject+ - The subject of the message, if this is omitted, Action Mailer will
# ask the Rails I18n class for a translated +:subject+ in the scope of