質問編集履歴
1
routes.rbを追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -98,7 +98,29 @@
|
|
98
98
|
|
99
99
|
```
|
100
100
|
|
101
|
+
```ruby
|
101
102
|
|
103
|
+
routes.rb
|
104
|
+
|
105
|
+
Rails.application.routes.draw do
|
106
|
+
|
107
|
+
devise_for :users
|
108
|
+
|
109
|
+
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
|
110
|
+
|
111
|
+
root 'top#index'
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
resources :list, only: %i(new create edit update)
|
116
|
+
|
117
|
+
end
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
```
|
102
124
|
|
103
125
|
### 試したこと
|
104
126
|
|