質問編集履歴
1
rails routesを追記しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -106,6 +106,76 @@
|
|
106
106
|
|
107
107
|
|
108
108
|
|
109
|
+
<追記:rails routes>
|
110
|
+
|
111
|
+
```
|
112
|
+
|
113
|
+
Prefix Verb URI Pattern Controller#Action
|
114
|
+
|
115
|
+
new_user_session GET /users/sign_in(.:format) devise/sessions#new
|
116
|
+
|
117
|
+
user_session POST /users/sign_in(.:format) devise/sessions#create
|
118
|
+
|
119
|
+
destroy_user_session DELETE /users/sign_out(.:format) devise/sessions#destroy
|
120
|
+
|
121
|
+
new_user_password GET /users/password/new(.:format) devise/passwords#new
|
122
|
+
|
123
|
+
edit_user_password GET /users/password/edit(.:format) devise/passwords#edit
|
124
|
+
|
125
|
+
user_password PATCH /users/password(.:format) devise/passwords#update
|
126
|
+
|
127
|
+
PUT /users/password(.:format) devise/passwords#update
|
128
|
+
|
129
|
+
POST /users/password(.:format) devise/passwords#create
|
130
|
+
|
131
|
+
cancel_user_registration GET /users/cancel(.:format) devise/registrations#cancel
|
132
|
+
|
133
|
+
new_user_registration GET /users/sign_up(.:format) devise/registrations#new
|
134
|
+
|
135
|
+
edit_user_registration GET /users/edit(.:format) devise/registrations#edit
|
136
|
+
|
137
|
+
user_registration PATCH /users(.:format) devise/registrations#update
|
138
|
+
|
139
|
+
PUT /users(.:format) devise/registrations#update
|
140
|
+
|
141
|
+
DELETE /users(.:format) devise/registrations#destroy
|
142
|
+
|
143
|
+
POST /users(.:format) devise/registrations#create
|
144
|
+
|
145
|
+
root GET / top#index
|
146
|
+
|
147
|
+
top_index GET /top(.:format) top#index
|
148
|
+
|
149
|
+
cafeteria_comments POST /cafeterias/:cafeteria_id/comments(.:format) comments#create
|
150
|
+
|
151
|
+
cafeterias GET /cafeterias(.:format) cafeterias#index
|
152
|
+
|
153
|
+
POST /cafeterias(.:format) cafeterias#create
|
154
|
+
|
155
|
+
new_cafeteria GET /cafeterias/new(.:format) cafeterias#new
|
156
|
+
|
157
|
+
edit_cafeteria GET /cafeterias/:id/edit(.:format) cafeterias#edit
|
158
|
+
|
159
|
+
cafeteria GET /cafeterias/:id(.:format) cafeterias#show
|
160
|
+
|
161
|
+
PATCH /cafeterias/:id(.:format) cafeterias#update
|
162
|
+
|
163
|
+
PUT /cafeterias/:id(.:format) cafeterias#update
|
164
|
+
|
165
|
+
DELETE /cafeterias/:id(.:format) cafeterias#destroy
|
166
|
+
|
167
|
+
edit_user GET /users/:id/edit(.:format) users#edit
|
168
|
+
|
169
|
+
user GET /users/:id(.:format) users#show
|
170
|
+
|
171
|
+
PATCH /users/:id(.:format) users#update
|
172
|
+
|
173
|
+
PUT /users/:id(.:format) users#update
|
174
|
+
|
175
|
+
```
|
176
|
+
|
177
|
+
|
178
|
+
|
109
179
|
### 試したこと
|
110
180
|
|
111
181
|
|