Commit d63f04ab16dc07b4c82d495f59931610bdb7150b
1 parent
dd64b761
Exists in
master
and in
4 other branches
nest issues actions in one route collection
Showing
1 changed file
with
2 additions
and
4 deletions
Show diff stats
config/routes.rb
@@ -52,10 +52,8 @@ Gitlab::Application.routes.draw do | @@ -52,10 +52,8 @@ Gitlab::Application.routes.draw do | ||
52 | resources :team_members | 52 | resources :team_members |
53 | resources :issues do | 53 | resources :issues do |
54 | collection do | 54 | collection do |
55 | - post :sort | ||
56 | - end | ||
57 | - collection do | ||
58 | - get :search | 55 | + post :sort |
56 | + get :search | ||
59 | end | 57 | end |
60 | end | 58 | end |
61 | resources :notes, :only => [:create, :destroy] | 59 | resources :notes, :only => [:create, :destroy] |