diff options
author | Jan Provaznik <jprovaznik@gitlab.com> | 2019-04-05 11:21:14 +0300 |
---|---|---|
committer | Jan Provaznik <jprovaznik@gitlab.com> | 2019-04-05 11:24:09 +0300 |
commit | ea3831986b63b2e070d9b61c8e307488822acf28 (patch) | |
tree | 59d5386162053cf051a481a4ac8fde425e714184 | |
parent | 764cd218c5fc0e26aaaa3cea63d6e1467b15afb0 (diff) |
Fix scoped links styling on milestones page
-rw-r--r-- | app/views/shared/milestones/_issuable.html.haml | 3 |
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| |