mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
fixed typo in getting started form_for for comments
This commit is contained in:
@@ -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 %>
|
||||
|
||||
Reference in New Issue
Block a user