質問編集履歴
2
コードを追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -238,4 +238,24 @@
|
|
238
238
|
|
239
239
|
|
240
240
|
|
241
|
+
```
|
242
|
+
|
243
|
+
search_chocolates GET /chocolates/search(.:format) chocolates#search
|
244
|
+
|
245
|
+
chocolates GET /chocolates(.:format) chocolates#index
|
246
|
+
|
247
|
+
POST /chocolates(.:format) chocolates#create
|
248
|
+
|
249
|
+
new_chocolate GET /chocolates/new(.:format) chocolates#new
|
250
|
+
|
251
|
+
edit_chocolate GET /chocolates/:id/edit(.:format) chocolates#edit
|
252
|
+
|
253
|
+
chocolate GET /chocolates/:id(.:format) chocolates#show
|
254
|
+
|
241
|
-
|
255
|
+
PATCH /chocolates/:id(.:format) chocolates#update
|
256
|
+
|
257
|
+
PUT /chocolates/:id(.:format) chocolates#update
|
258
|
+
|
259
|
+
DELETE /chocolates/:id(.:format) chocolates#destroy
|
260
|
+
|
261
|
+
```
|
1
画像を追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -231,3 +231,11 @@
|
|
231
231
|
|
232
232
|
|
233
233
|
![イメージ説明](a02e8123a85a30df35a570ca3ce7b14d.jpeg)
|
234
|
+
|
235
|
+
|
236
|
+
|
237
|
+
rails routesの結果
|
238
|
+
|
239
|
+
|
240
|
+
|
241
|
+
![イメージ説明](2bcd952d0a65205bb4c29b4a6707c8a2.jpeg)
|