Remove unnecessary 'shallow' in comments routes

Since this commit 6e27917d6e it seems that it is no longer necessary
to continue using shallow.
This commit is contained in:
taitus
2023-10-06 09:24:55 +02:00
parent e0dc7c96c3
commit b39b64a674

View File

@@ -1,4 +1,4 @@
resources :comments, only: [:create, :show], shallow: true do resources :comments, only: [:create, :show] do
member do member do
post :vote post :vote
put :flag put :flag