質問編集履歴
1
routes.rbの改善
test
CHANGED
File without changes
|
test
CHANGED
@@ -346,18 +346,24 @@
|
|
346
346
|
|
347
347
|
devise_for :users
|
348
348
|
|
349
|
+
resources :groups, only: [:index, :show, :new, :create] do
|
350
|
+
|
349
|
-
resources :calendars d
|
351
|
+
resources :calendars, only: [:index, :new, :create]
|
352
|
+
|
353
|
+
end
|
354
|
+
|
355
|
+
resources :calendars, only: [:show, :edit, :update, :destroy] do
|
350
356
|
|
351
357
|
resources :calendar_messages, only: [:index, :create, :destroy]
|
352
358
|
|
353
359
|
end
|
354
360
|
|
355
|
-
resources :groups, only: [:index, :show, :new, :create]
|
356
|
-
|
357
361
|
# For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html
|
358
362
|
|
359
363
|
end
|
360
364
|
|
365
|
+
|
366
|
+
|
361
367
|
```
|
362
368
|
|
363
369
|
|