質問編集履歴
2
変更しました
title
CHANGED
File without changes
|
body
CHANGED
@@ -18,12 +18,21 @@
|
|
18
18
|
DELETE /projects/:id(.:format) projects#destroy
|
19
19
|
```
|
20
20
|
|
21
|
-
参考のページにある
|
21
|
+
参考のページにあるルートは以下のとおりになっており
|
22
|
+
結果が少し違っているようです
|
22
23
|
```ここに言語を入力
|
24
|
+
Prefix Verb URI Pattern Controller#Action
|
23
25
|
projects GET /projects(.:format) projects#index
|
26
|
+
POST /projects(.:format) projects#create
|
27
|
+
new_project GET /projects/new(.:format) projects#new
|
28
|
+
edit_project GET /projects/:id/edit(.:format) projects#edit
|
29
|
+
project GET /projects/:id(.:format) projects#show
|
30
|
+
PATCH /projects/:id(.:format) projects#update
|
31
|
+
PUT /projects/:id(.:format) projects#update
|
32
|
+
DELETE /projects/:id(.:format) projects#destroy
|
24
33
|
```
|
25
34
|
|
35
|
+
原因がわからないのですがなぜこのような結果になっているのか
|
26
|
-
|
36
|
+
教えて頂けますでしょうか?
|
27
37
|
|
28
|
-
初歩的な質問で申し訳ございませんが
|
29
38
|
どうぞよろしくお願いします
|
1
修正しました
title
CHANGED
File without changes
|
body
CHANGED
@@ -19,7 +19,9 @@
|
|
19
19
|
```
|
20
20
|
|
21
21
|
参考のページにある以下のルート設定が足りません
|
22
|
+
```ここに言語を入力
|
22
23
|
projects GET /projects(.:format) projects#index
|
24
|
+
```
|
23
25
|
|
24
26
|
なぜでしょうか?
|
25
27
|
|