質問編集履歴
1
@articleの定義
test
CHANGED
File without changes
|
test
CHANGED
@@ -148,6 +148,8 @@
|
|
148
148
|
|
149
149
|
@articles = Article.all
|
150
150
|
|
151
|
+
@article = Article.where(id: params[:article_id])
|
152
|
+
|
151
153
|
end
|
152
154
|
|
153
155
|
|
@@ -162,6 +164,8 @@
|
|
162
164
|
|
163
165
|
@articles = Article.all
|
164
166
|
|
167
|
+
@article = Article.where(id: params[:article_id])
|
168
|
+
|
165
169
|
end
|
166
170
|
|
167
171
|
|