Commit b8430ddd authored by Takuya Noguchi's avatar Takuya Noguchi

Change milestone endpoint for groups

parent bd874729
......@@ -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
......
---
title: Change milestone endpoint for groups
merge_request: 12374
author: Takuya Noguchi
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment