Permalink
Browse files

Revert "fixed typo in getting started form_for for comments"

This reverts commit 2f428a6.

See comments here 2f428a6
  • Loading branch information...
1 parent 2f428a6 commit e7dff9c1f1e3e8a73c1b5bc5fd4263126813489c @arunagw arunagw committed Nov 28, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 %>

0 comments on commit e7dff9c

Please sign in to comment.