summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-06-11 14:09:45 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-06-11 14:09:45 +0300
commitdd86ce3f062ed84d90aa51ab5aee4cfcce24cda5 (patch)
treef217b7abd593e713ed2751325bc7a920258cff3e /config
parent1f5891e99183f1b20ced08d75dd44c9a01c48094 (diff)
downloadgitlab-ce-dd86ce3f062ed84d90aa51ab5aee4cfcce24cda5.tar.gz
Sort issues in milestone
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 67ff66757e6..c38b5c42a7b 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -278,7 +278,11 @@ Gitlab::Application.routes.draw do
end
resources :team, controller: 'team_members', only: [:index]
- resources :milestones, except: [:destroy], constraints: {id: /\d+/}
+ resources :milestones, except: [:destroy], constraints: {id: /\d+/} do
+ member do
+ put :sort_issues
+ end
+ end
resources :labels, only: [:index] do
collection do