summaryrefslogtreecommitdiff
path: root/app/views/projects/labels
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-05-21 23:40:25 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-05-21 23:40:25 -0400
commit9bdd7f34a52da2faa3677e26b57a7b270d629d97 (patch)
treee2a5f1b121016c6efcf50733ed28b042cf037e77 /app/views/projects/labels
parent2b1b026a1e8c7654b475aa0aaacf3121e86ee2a5 (diff)
downloadgitlab-ce-9bdd7f34a52da2faa3677e26b57a7b270d629d97.tar.gz
Add link_to_label helper
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