summaryrefslogtreecommitdiff
path: root/app/views/projects/milestones/index.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/milestones/index.html.haml')
-rw-r--r--app/views/projects/milestones/index.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/milestones/index.html.haml b/app/views/projects/milestones/index.html.haml
index 04a1b9243d5..084c6d010da 100644
--- a/app/views/projects/milestones/index.html.haml
+++ b/app/views/projects/milestones/index.html.haml
@@ -3,7 +3,7 @@
%h3.page-title
Milestones
- if can? current_user, :admin_milestone, @project
- = link_to new_project_milestone_path(@project), class: "pull-right btn btn-new", title: "New Milestone" do
+ = link_to new_namespace_project_milestone_path(@project.namespace, @project), class: "pull-right btn btn-new", title: "New Milestone" do
%i.fa.fa-plus
New Milestone