From b39b64a674a8c2a067c6f99438dcec26e3c6a891 Mon Sep 17 00:00:00 2001 From: taitus Date: Fri, 6 Oct 2023 09:24:55 +0200 Subject: [PATCH] Remove unnecessary 'shallow' in comments routes Since this commit 6e27917d6e1 it seems that it is no longer necessary to continue using shallow. --- config/routes/comment.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes/comment.rb b/config/routes/comment.rb index c973446e2..68327028c 100644 --- a/config/routes/comment.rb +++ b/config/routes/comment.rb @@ -1,4 +1,4 @@ -resources :comments, only: [:create, :show], shallow: true do +resources :comments, only: [:create, :show] do member do post :vote put :flag