Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-05-22 06:40:25 +0300
committerRobert Speicher <rspeicher@gmail.com>2015-05-22 06:40:25 +0300
commit9bdd7f34a52da2faa3677e26b57a7b270d629d97 (patch)
treee2a5f1b121016c6efcf50733ed28b042cf037e77 /app/views/projects/issues/_discussion.html.haml
parent2b1b026a1e8c7654b475aa0aaacf3121e86ee2a5 (diff)
Add link_to_label helper
Diffstat (limited to 'app/views/projects/issues/_discussion.html.haml')
-rw-r--r--app/views/projects/issues/_discussion.html.haml3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/projects/issues/_discussion.html.haml b/app/views/projects/issues/_discussion.html.haml
index 2016f5c709c..48858fa32da 100644
--- a/app/views/projects/issues/_discussion.html.haml
+++ b/app/views/projects/issues/_discussion.html.haml
@@ -30,5 +30,4 @@
%label Labels
.issue-show-labels
- @issue.labels.each do |label|
- = link_to namespace_project_issues_path(@project.namespace, @project, label_name: label.name) do
- = render_colored_label(label)
+ = link_to_label(label)