summaryrefslogtreecommitdiff
path: root/app/views/projects/labels/new.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/labels/new.html.haml')
-rw-r--r--app/views/projects/labels/new.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/labels/new.html.haml b/app/views/projects/labels/new.html.haml
index 8f6c085a361..79e90b7ca3b 100644
--- a/app/views/projects/labels/new.html.haml
+++ b/app/views/projects/labels/new.html.haml
@@ -6,4 +6,4 @@
%h3.page-title
New Label
%hr
- = render 'shared/labels/form', url: namespace_project_labels_path(@project.namespace.becomes(Namespace), @project), back_path: namespace_project_labels_path(@project.namespace, @project)
+ = render 'shared/labels/form', url: project_labels_path(@project), back_path: project_labels_path(@project)