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