summaryrefslogtreecommitdiff
path: root/app/views/projects/labels
diff options
context:
space:
mode:
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 82829452862..c9ac0dbe0c1 100644
--- a/app/views/projects/labels/_label.html.haml
+++ b/app/views/projects/labels/_label.html.haml
@@ -2,7 +2,7 @@
= render_colored_label(label)
.pull-right
%strong.append-right-20
- = link_to namespace_project_issues_path(@project.namespace, @project, label_name: label.name) do
+ = link_to_label(label) do
= pluralize label.open_issues_count, 'open issue'
- if can? current_user, :admin_label, @project