From e7dff9c1f1e3e8a73c1b5bc5fd4263126813489c Mon Sep 17 00:00:00 2001
From: Arun Agrawal <arunagw@gmail.com>
Date: Mon, 28 Nov 2011 14:10:23 +0530
Subject: Revert "fixed typo in getting started form_for for comments"

This reverts commit 2f428a6245a18017c7942f8fef3da4a85bec8cc5.

See comments here 2f428a6245a18017c7942f8fef3da4a85bec8cc5
---
 railties/guides/source/getting_started.textile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'railties/guides/source/getting_started.textile')

diff --git a/railties/guides/source/getting_started.textile b/railties/guides/source/getting_started.textile
index 3ff6603a4c..fe43c9db36 100644
--- a/railties/guides/source/getting_started.textile
+++ b/railties/guides/source/getting_started.textile
@@ -1297,7 +1297,7 @@ So first, we'll wire up the Post show template
 </p>
 
 <h2>Add a comment:</h2>
-<%= form_for([@post, @post.comment.build]) do |f| %>
+<%= form_for([@post, @post.comments.build]) do |f| %>
   <div class="field">
     <%= f.label :commenter %><br />
     <%= f.text_field :commenter %>
-- 
cgit v1.2.3

