diff options
author | Phil Hughes <me@iamphill.com> | 2016-07-16 11:41:55 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-07-20 12:48:02 +0300 |
commit | 9a1feb65cc1e947e16dc29308fbc02a1deee56f5 (patch) | |
tree | a8596c7037bada0cc2ddc112ea7b099af271fd20 /app/helpers/milestones_helper.rb | |
parent | 3582861cbcb3e4c80822408c6c31d0de48720813 (diff) |
Fixed labels & milestones loading the wrong path
Diffstat (limited to 'app/helpers/milestones_helper.rb')
-rw-r--r-- | app/helpers/milestones_helper.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/helpers/milestones_helper.rb b/app/helpers/milestones_helper.rb index b3e6e468ecd..6ea83e5dc03 100644 --- a/app/helpers/milestones_helper.rb +++ b/app/helpers/milestones_helper.rb @@ -47,8 +47,9 @@ module MilestonesHelper end def milestones_filter_dropdown_path + project = @target_project || @project if @project - namespace_project_milestones_path(@project.namespace, @project, :json) + namespace_project_milestones_path(project.namespace, project, :json) else dashboard_milestones_path(:json) end |