From aff366827d67b35af50da0000de4508de4b2a4cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juanjo=20Baz=C3=A1n?= Date: Thu, 20 Aug 2015 16:14:22 +0200 Subject: [PATCH] removes unused route --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index f2d39a5ac..7dbe31613 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -67,7 +67,7 @@ Rails.application.routes.draw do member { put :hide } end - resources :comments, only: [:index] do + resources :comments, only: [] do member { put :hide } end end