diff options
author | Takuya Noguchi <tak.noguchi.iridge@gmail.com> | 2017-06-22 16:25:56 +0900 |
---|---|---|
committer | Takuya Noguchi <tak.noguchi.iridge@gmail.com> | 2017-06-27 00:15:51 +0900 |
commit | b8430dddbd413c87f77ba7f02d9b0a0cd4ec42ad (patch) | |
tree | 6324e8bfc18c434aec41c9af5fb98e76063c666f /app/helpers | |
parent | bd874729a2110e1270d09338bb326110c880e001 (diff) | |
download | gitlab-ce-b8430dddbd413c87f77ba7f02d9b0a0cd4ec42ad.tar.gz |
Change milestone endpoint for groups
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/milestones_helper.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/helpers/milestones_helper.rb b/app/helpers/milestones_helper.rb index a230db22fa2..f346e20e807 100644 --- a/app/helpers/milestones_helper.rb +++ b/app/helpers/milestones_helper.rb @@ -74,6 +74,8 @@ module MilestonesHelper project = @target_project || @project if project namespace_project_milestones_path(project.namespace, project, :json) + elsif @group + group_milestones_path(@group, :json) else dashboard_milestones_path(:json) end |