From d63f04ab16dc07b4c82d495f59931610bdb7150b Mon Sep 17 00:00:00 2001 From: Nihad Abbasov Date: Tue, 15 Nov 2011 12:55:57 +0400 Subject: [PATCH] nest issues actions in one route collection --- config/routes.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/config/routes.rb b/config/routes.rb index b787683c..09492e32 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -52,10 +52,8 @@ Gitlab::Application.routes.draw do resources :team_members resources :issues do collection do - post :sort - end - collection do - get :search + post :sort + get :search end end resources :notes, :only => [:create, :destroy]