summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/views/layouts/nav/_project.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/nav/_project.html.haml b/app/views/layouts/nav/_project.html.haml
index 4ff876e5032..90d7cdd3956 100644
--- a/app/views/layouts/nav/_project.html.haml
+++ b/app/views/layouts/nav/_project.html.haml
@@ -127,5 +127,5 @@
-# Shortcut to create a new issue
%li.hidden
- = link_to polymorphic_path([@project.namespace.becomes(Namespace), @project, :issue], action: :new), class: 'shortcuts-new-issue' do
+ = link_to new_namespace_project_issue_path(@project.namespace, @project), class: 'shortcuts-new-issue' do
Create a new issue