diff options
author | Marin Jankovski <marin@gitlab.com> | 2014-06-25 13:30:23 +0200 |
---|---|---|
committer | Marin Jankovski <marin@gitlab.com> | 2014-06-30 09:44:30 +0200 |
commit | e1afea777a6f0d2e28adc2765c9445cb10bd25f8 (patch) | |
tree | 948325c45d2bed91fa2f5e8b6a6217918ccb3fab /app/controllers/groups/milestones_controller.rb | |
parent | aaba993352d65ad645215083cd6a4a46006f4b32 (diff) | |
download | gitlab-ce-e1afea777a6f0d2e28adc2765c9445cb10bd25f8.tar.gz |
Show title of milestone.
Diffstat (limited to 'app/controllers/groups/milestones_controller.rb')
-rw-r--r-- | app/controllers/groups/milestones_controller.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/controllers/groups/milestones_controller.rb b/app/controllers/groups/milestones_controller.rb index fc538105125..88a709024d4 100644 --- a/app/controllers/groups/milestones_controller.rb +++ b/app/controllers/groups/milestones_controller.rb @@ -3,5 +3,8 @@ class Groups::MilestonesController < ApplicationController def index @group = Group.find_by(path: params[:group_id]) + project_ids = @group.projects + project_milestones = Milestone.where(project_id: project_ids) + @milestones = project_milestones end end |