From b305ef3ef7499301ca2ac34ee78e0f72273dcade Mon Sep 17 00:00:00 2001 From: Marcel Molina Date: Thu, 13 Apr 2006 10:34:16 +0000 Subject: [PATCH] Correct spurious documentation example code which results in a SyntaxError. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4210 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionmailer/CHANGELOG | 2 ++ actionmailer/lib/action_mailer/base.rb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/actionmailer/CHANGELOG b/actionmailer/CHANGELOG index 2ceba66d18..d4629f4a7a 100644 --- a/actionmailer/CHANGELOG +++ b/actionmailer/CHANGELOG @@ -1,3 +1,5 @@ +* Correct spurious documentation example code which results in a SyntaxError. [Marcel Molina Jr.] + *1.2.1* (April 6th, 2005) * Be part of Rails 1.1.1 diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb index 96a6db64bc..e060632b7b 100644 --- a/actionmailer/lib/action_mailer/base.rb +++ b/actionmailer/lib/action_mailer/base.rb @@ -14,7 +14,7 @@ module ActionMailer #:nodoc: # def signup_notification(recipient) # recipients recipient.email_address_with_name # subject "New account information" - # body { "account" => recipient } + # body "account" => recipient # from "system@example.com" # end #