diff options
Diffstat (limited to 'guides/code/getting_started/app/views/comments/_form.html.erb')
-rw-r--r-- | guides/code/getting_started/app/views/comments/_form.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/code/getting_started/app/views/comments/_form.html.erb b/guides/code/getting_started/app/views/comments/_form.html.erb index 00cb3a08f0..5850c41a17 100644 --- a/guides/code/getting_started/app/views/comments/_form.html.erb +++ b/guides/code/getting_started/app/views/comments/_form.html.erb @@ -1,4 +1,4 @@ -<%= form_for([@post, @post.comments.build]) do |f| %> +<%= form_for([@article, @article.comments.build]) do |f| %> <p> <%= f.label :commenter %><br /> <%= f.text_field :commenter %> |