summaryrefslogtreecommitdiff
path: root/app/controllers/groups
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-04-25 15:25:20 +0100
committerPhil Hughes <me@iamphill.com>2017-04-26 12:23:29 +0100
commit52d59a4e5108d2ffd6f2bc543ee9aef1a87a8f14 (patch)
treef1f9b1b7e46fcd441d3cf860016473ec04baf6de /app/controllers/groups
parentf00bb1c29ea438be66b3766545a57b468ade37d4 (diff)
downloadgitlab-ce-52d59a4e5108d2ffd6f2bc543ee9aef1a87a8f14.tar.gz
Load milestone tabs asynchronously
Diffstat (limited to 'app/controllers/groups')
-rw-r--r--app/controllers/groups/milestones_controller.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/controllers/groups/milestones_controller.rb b/app/controllers/groups/milestones_controller.rb
index 43102596201..e52fa766044 100644
--- a/app/controllers/groups/milestones_controller.rb
+++ b/app/controllers/groups/milestones_controller.rb
@@ -1,6 +1,8 @@
class Groups::MilestonesController < Groups::ApplicationController
+ include MilestoneActions
+
before_action :group_projects
- before_action :milestone, only: [:show, :update]
+ before_action :milestone, only: [:show, :update, :merge_requests, :participants, :labels]
before_action :authorize_admin_milestones!, only: [:new, :create, :update]
def index