summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorJan Provaznik <jprovaznik@gitlab.com>2019-04-05 10:21:14 +0200
committerJan Provaznik <jprovaznik@gitlab.com>2019-04-05 10:24:09 +0200
commitea3831986b63b2e070d9b61c8e307488822acf28 (patch)
tree59d5386162053cf051a481a4ac8fde425e714184 /app
parent764cd218c5fc0e26aaaa3cea63d6e1467b15afb0 (diff)
downloadgitlab-ce-ea3831986b63b2e070d9b61c8e307488822acf28.tar.gz
Fix scoped links styling on milestones page
Diffstat (limited to 'app')
-rw-r--r--app/views/shared/milestones/_issuable.html.haml3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/shared/milestones/_issuable.html.haml b/app/views/shared/milestones/_issuable.html.haml
index 57c0de2e9bc..5863f52aa78 100644
--- a/app/views/shared/milestones/_issuable.html.haml
+++ b/app/views/shared/milestones/_issuable.html.haml
@@ -21,8 +21,7 @@
%span.issuable-number= issuable.to_reference
- labels.each do |label|
- = link_to polymorphic_path(issuable_type_args, { milestone_title: @milestone.title, label_name: label.title, state: 'all' }) do
- - render_label(label)
+ = render_label(label, link: polymorphic_path(issuable_type_args, { milestone_title: @milestone.title, label_name: label.title, state: 'all' }))
%span.assignee-icon
- assignees.each do |assignee|