summaryrefslogtreecommitdiff
path: root/app/views/layouts/nav
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-04-12 18:37:07 -0500
committerAlfredo Sumaran <alfredo@gitlab.com>2016-04-18 15:03:36 -0500
commiteaedc49ea3775464d05678f2b8929e4d03a742d5 (patch)
tree9b1b9c427a176219afe4a99ca2ed0870c5b814c9 /app/views/layouts/nav
parentef818d0964b86dfd154ac96c482e66abb928a624 (diff)
downloadgitlab-ce-eaedc49ea3775464d05678f2b8929e4d03a742d5.tar.gz
Use proper method
Diffstat (limited to 'app/views/layouts/nav')
-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