aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharles Brian Quinn <cbq@highgroove.com>2012-03-19 20:59:31 -0400
committerCharles Brian Quinn <cbq@highgroove.com>2012-03-19 20:59:31 -0400
commitc291195a6d955dd11eb16f6363db3cb7d3ff3557 (patch)
treea90bc6ef2543709ba2b8cb2fb3086e34f176c62d
parent9c748f3961816d10b4a7be7b66a70b3b4bcd52cf (diff)
downloadrails-c291195a6d955dd11eb16f6363db3cb7d3ff3557.tar.gz
rails-c291195a6d955dd11eb16f6363db3cb7d3ff3557.tar.bz2
rails-c291195a6d955dd11eb16f6363db3cb7d3ff3557.zip
Updates ActionMailer Base summary and fixes space in code example.
-rw-r--r--actionmailer/lib/action_mailer/base.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb
index 64f82f24a2..4af2d0a4a8 100644
--- a/actionmailer/lib/action_mailer/base.rb
+++ b/actionmailer/lib/action_mailer/base.rb
@@ -14,15 +14,15 @@ module ActionMailer #:nodoc:
#
# $ rails generate mailer Notifier
#
- # The generated model inherits from <tt>ActionMailer::Base</tt>. Emails are defined by creating methods
- # within the model which are then used to set variables to be used in the mail template, to
- # change options on the mail, or to add attachments.
+ # The generated model inherits from <tt>ActionMailer::Base</tt>. A mailer model defines methods
+ # used to generate an email message. In these methods, you can setup variables to be used in
+ # the mailer views, options on the mail itself such as the <tt>:from</tt> address, and attachments.
#
# Examples:
#
# class Notifier < ActionMailer::Base
# default :from => 'no-reply@example.com',
- # :return_path => 'system@example.com'
+ # :return_path => 'system@example.com'
#
# def welcome(recipient)
# @account = recipient