Skip to content
Browse files

fixed typo in getting started form_for for comments

  • Loading branch information...
1 parent 9cf2855 commit 2f428a6245a18017c7942f8fef3da4a85bec8cc5 @timfm timfm committed Nov 28, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/guides/source/getting_started.textile
View
2 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.comments.build]) do |f| %>
+<%= form_for([@post, @post.comment.build]) do |f| %>
<div class="field">
<%= f.label :commenter %><br />
<%= f.text_field :commenter %>

0 comments on commit 2f428a6

Please sign in to comment.
Something went wrong with that request. Please try again.