summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-05-10 14:09:00 +0000
committerFilipa Lacerda <filipa@gitlab.com>2017-05-10 14:09:00 +0000
commit46a6fb38809fe8482fd8fb60fcfd979226e1321e (patch)
tree98f9afbfc8eb2543389e938dda28d607afb5be25 /app
parentd2df134f9ed85d904c5f0839436117aa7bdf1024 (diff)
parent95ddedca785b7c2b59f7970a3cdfd46a63ebc913 (diff)
downloadgitlab-ce-46a6fb38809fe8482fd8fb60fcfd979226e1321e.tar.gz
Merge branch 'issue-boards-sidebar-create-new-label-404-error' into 'master'
Fixed create label form not working on issue boards in a sub-group project Closes #31862 See merge request !11182
Diffstat (limited to 'app')
-rw-r--r--app/views/projects/boards/components/sidebar/_labels.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/boards/components/sidebar/_labels.html.haml b/app/views/projects/boards/components/sidebar/_labels.html.haml
index 0f0a84c156d..bee0f3dd065 100644
--- a/app/views/projects/boards/components/sidebar/_labels.html.haml
+++ b/app/views/projects/boards/components/sidebar/_labels.html.haml
@@ -19,7 +19,7 @@
":value" => "label.id" }
.dropdown
%button.dropdown-menu-toggle.js-label-select.js-multiselect.js-issue-board-sidebar{ type: "button",
- data: { toggle: "dropdown", field_name: "issue[label_names][]", show_no: "true", show_any: "true", project_id: @project.id, labels: namespace_project_labels_path(@project.namespace, @project, :json), namespace_path: @project.try(:namespace).try(:path), project_path: @project.try(:path) },
+ data: { toggle: "dropdown", field_name: "issue[label_names][]", show_no: "true", show_any: "true", project_id: @project.id, labels: namespace_project_labels_path(@project.namespace, @project, :json), namespace_path: @project.try(:namespace).try(:full_path), project_path: @project.try(:path) },
":data-issue-update" => "'#{namespace_project_issues_path(@project.namespace, @project)}/' + issue.id + '.json'" }
%span.dropdown-toggle-text
Label