summaryrefslogtreecommitdiff
path: root/app/views/projects/merge_requests/_discussion.html.haml
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/merge_requests/_discussion.html.haml
parent2b1b026a1e8c7654b475aa0aaacf3121e86ee2a5 (diff)
downloadgitlab-ce-9bdd7f34a52da2faa3677e26b57a7b270d629d97.tar.gz
Add link_to_label helper
Diffstat (limited to 'app/views/projects/merge_requests/_discussion.html.haml')
-rw-r--r--app/views/projects/merge_requests/_discussion.html.haml3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/projects/merge_requests/_discussion.html.haml b/app/views/projects/merge_requests/_discussion.html.haml
index 9a2aa9c3de0..eb3dba6858d 100644
--- a/app/views/projects/merge_requests/_discussion.html.haml
+++ b/app/views/projects/merge_requests/_discussion.html.haml
@@ -27,5 +27,4 @@
%label Labels
.merge-request-show-labels
- @merge_request.labels.each do |label|
- = link_to namespace_project_merge_requests_path(@project.namespace, @project, label_name: label.name) do
- = render_colored_label(label)
+ = link_to_label(label)