提交 2f428a62 编写于 作者: T Tim Reischmann

fixed typo in getting started form_for for comments

上级 9cf28559
......@@ -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 %>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册