回答編集履歴

1

誤りの訂正:@post → post

2018/01/22 15:09

投稿

scivola
scivola

スコア2108

test CHANGED
@@ -72,7 +72,7 @@
72
72
 
73
73
  ```erb
74
74
 
75
- <%= form_for [@post, Comment.new] do |form| %>
75
+ <%= form_for [post, Comment.new] do |form| %>
76
76
 
77
77
  <%= form.text_area :content, cols: "30", placeholder: "コメントする", rows: "2" %>
78
78