fixed typo in getting started form_for for comments

This commit is contained in:
Tim Reischmann 2011-11-28 09:27:42 +01:00
parent 9cf285599c
commit 2f428a6245

@ -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 %>