aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer
diff options
context:
space:
mode:
authorMarcel Molina <marcel@vernix.org>2006-04-13 10:34:16 +0000
committerMarcel Molina <marcel@vernix.org>2006-04-13 10:34:16 +0000
commitb305ef3ef7499301ca2ac34ee78e0f72273dcade (patch)
treea56b1b6941795649e4380c828766d7a01212b3b0 /actionmailer
parent7a8883eee99a48737a46cd3049f7642946414a41 (diff)
downloadrails-b305ef3ef7499301ca2ac34ee78e0f72273dcade.tar.gz
rails-b305ef3ef7499301ca2ac34ee78e0f72273dcade.tar.bz2
rails-b305ef3ef7499301ca2ac34ee78e0f72273dcade.zip
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
Diffstat (limited to 'actionmailer')
-rw-r--r--actionmailer/CHANGELOG2
-rw-r--r--actionmailer/lib/action_mailer/base.rb2
2 files changed, 3 insertions, 1 deletions
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
#