Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-04-25 17:25:20 +0300
committerPhil Hughes <me@iamphill.com>2017-04-26 14:23:29 +0300
commit52d59a4e5108d2ffd6f2bc543ee9aef1a87a8f14 (patch)
treef1f9b1b7e46fcd441d3cf860016473ec04baf6de /config/routes/group.rb
parentf00bb1c29ea438be66b3766545a57b468ade37d4 (diff)
Load milestone tabs asynchronously
Diffstat (limited to 'config/routes/group.rb')
-rw-r--r--config/routes/group.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/config/routes/group.rb b/config/routes/group.rb
index 73f69d76995..7b29e0e807c 100644
--- a/config/routes/group.rb
+++ b/config/routes/group.rb
@@ -10,7 +10,13 @@ scope(path: 'groups/*group_id',
end
resource :avatar, only: [:destroy]
- resources :milestones, constraints: { id: /[^\/]+/ }, only: [:index, :show, :update, :new, :create]
+ resources :milestones, constraints: { id: /[^\/]+/ }, only: [:index, :show, :update, :new, :create] do
+ member do
+ get :merge_requests
+ get :participants
+ get :labels
+ end
+ end
resources :labels, except: [:show] do
post :toggle_subscription, on: :member