diff options
author | Teng Siong Ong <siong1987@gmail.com> | 2011-05-28 13:58:02 +0800 |
---|---|---|
committer | Teng Siong Ong <siong1987@gmail.com> | 2011-05-28 13:58:02 +0800 |
commit | 0f0213f490e9008d4cdebd696592d495943426a0 (patch) | |
tree | 8ec577162b22af70532219e9d4a66d6c9ccf44e3 /actionmailer | |
parent | b7baf1211f83f7dd008f156f1f5cfc62b52bf458 (diff) | |
download | rails-0f0213f490e9008d4cdebd696592d495943426a0.tar.gz rails-0f0213f490e9008d4cdebd696592d495943426a0.tar.bz2 rails-0f0213f490e9008d4cdebd696592d495943426a0.zip |
minor spacing fix in code example in ActionMailer::Base.
Diffstat (limited to 'actionmailer')
-rw-r--r-- | actionmailer/lib/action_mailer/base.rb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb index 220cee3da1..dd6e671ab8 100644 --- a/actionmailer/lib/action_mailer/base.rb +++ b/actionmailer/lib/action_mailer/base.rb @@ -22,16 +22,16 @@ module ActionMailer #:nodoc: # # Examples: # - # class Notifier < ActionMailer::Base - # default :from => 'no-reply@example.com', + # class Notifier < ActionMailer::Base + # default :from => 'no-reply@example.com', # :return_path => 'system@example.com' # - # def welcome(recipient) - # @account = recipient - # mail(:to => recipient.email_address_with_name, - # :bcc => ["bcc@example.com", "Order Watcher <watcher@example.com>"]) - # end - # end + # def welcome(recipient) + # @account = recipient + # mail(:to => recipient.email_address_with_name, + # :bcc => ["bcc@example.com", "Order Watcher <watcher@example.com>"]) + # end + # end # # Within the mailer method, you have access to the following methods: # |