質問編集履歴
2
スペルミスなどあったため修正していたら、エラー内容が変わったため修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -18,13 +18,11 @@
|
|
18
18
|
|
19
19
|
と記述し実行したところ、
|
20
20
|
|
21
|
-
**
|
21
|
+
**ArgumentError in Prototype#index**
|
22
|
-
|
23
|
-
|
24
|
-
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
-
**
|
25
|
+
**Can't resolve image into URL: to_model delegated to attachment, but attachment is nil**
|
26
|
-
|
27
|
-
Did you mean? prototype_index_path**
|
28
26
|
|
29
27
|
|
30
28
|
|
1
prototype_pathの場所について追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -210,6 +210,22 @@
|
|
210
210
|
|
211
211
|
```
|
212
212
|
|
213
|
+
routes.rb
|
214
|
+
|
215
|
+
```
|
216
|
+
|
217
|
+
Rails.application.routes.draw do
|
218
|
+
|
219
|
+
devise_for :users
|
220
|
+
|
221
|
+
root to: 'prototype#index'
|
222
|
+
|
223
|
+
resources :prototype,only: [:index,:new,:create]
|
224
|
+
|
225
|
+
end
|
226
|
+
|
227
|
+
```
|
228
|
+
|
213
229
|
### 試したこと
|
214
230
|
|
215
231
|
|