summaryrefslogtreecommitdiff
path: root/app/views/projects/labels
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2016-05-13 17:26:18 +0200
committerAlfredo Sumaran <alfredo@gitlab.com>2016-06-06 11:59:49 -0500
commit499bb9f305e78d0e3488c2eee6328ce76af39920 (patch)
treeffc4aa229ae08c995afabf893ed36167c950302e /app/views/projects/labels
parentd8263b285193d9163089683eb77825f1cd673b14 (diff)
downloadgitlab-ce-499bb9f305e78d0e3488c2eee6328ce76af39920.tar.gz
Improve Issuable.order_labels_priority
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'app/views/projects/labels')
-rw-r--r--app/views/projects/labels/_label.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/labels/_label.html.haml b/app/views/projects/labels/_label.html.haml
index eda75b64e79..a22dee1a626 100644
--- a/app/views/projects/labels/_label.html.haml
+++ b/app/views/projects/labels/_label.html.haml
@@ -1,7 +1,7 @@
- label_css_id = dom_id(label)
%li{id: label_css_id, :"data-id" => label.id}
%a.js-toggle-priority{:href => "#",
- :"data-url" => toggle_priority_namespace_project_label_path(@project.namespace, @project, label),
+ :"data-url" => remove_priority_namespace_project_label_path(@project.namespace, @project, label),
:"data-dom-id" => "#{label_css_id}" }
%span.add-priority
(+)