Skip to content

Commit

Permalink
Updates ActionMailer Base summary and fixes space in code example.
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles Brian Quinn committed Mar 20, 2012
1 parent 9c748f3 commit c291195
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions actionmailer/lib/action_mailer/base.rb
Expand Up @@ -14,15 +14,15 @@ module ActionMailer #:nodoc:
# #
# $ rails generate mailer Notifier # $ rails generate mailer Notifier
# #
# The generated model inherits from <tt>ActionMailer::Base</tt>. Emails are defined by creating methods # The generated model inherits from <tt>ActionMailer::Base</tt>. A mailer model defines methods
# within the model which are then used to set variables to be used in the mail template, to # used to generate an email message. In these methods, you can setup variables to be used in
# change options on the mail, or to add attachments. # the mailer views, options on the mail itself such as the <tt>:from</tt> address, and attachments.
# #
# Examples: # Examples:
# #
# class Notifier < ActionMailer::Base # class Notifier < ActionMailer::Base
# default :from => 'no-reply@example.com', # default :from => 'no-reply@example.com',
# :return_path => 'system@example.com' # :return_path => 'system@example.com'
# #
# def welcome(recipient) # def welcome(recipient)
# @account = recipient # @account = recipient
Expand Down

0 comments on commit c291195

Please sign in to comment.