nest issues actions in one route collection

This commit is contained in:
Nihad Abbasov 2011-11-15 12:55:57 +04:00
parent dd64b761c6
commit d63f04ab16

View file

@ -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]