diff options
author | Phil Hughes <me@iamphill.com> | 2016-06-24 13:31:36 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-06-24 13:31:36 +0300 |
commit | d334f8d4fa434f92cac99e5cecba62f8822acae9 (patch) | |
tree | 5e9e8dab3a9df0b297584311c093e714bc81049b /app/views/shared | |
parent | 4477dc249e563e60e126d4f5ad2692297a9584c1 (diff) |
Fixed URL on label button when filtering
Closes #19005
Diffstat (limited to 'app/views/shared')
-rw-r--r-- | app/views/shared/_labels_row.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/_labels_row.html.haml b/app/views/shared/_labels_row.html.haml index 87028ececd4..5507a05f6c1 100644 --- a/app/views/shared/_labels_row.html.haml +++ b/app/views/shared/_labels_row.html.haml @@ -1,6 +1,6 @@ - labels.each do |label| %span.label-row.btn-group{ role: "group", aria: { label: escape_once(label.name) }, style: "color: #{text_color_for_bg(label.color)}" } - = link_to namespace_project_label_path(@project.namespace, @project, label), + = link_to label_filter_path(@project, label, type: controller.controller_name), class: "btn btn-transparent has-tooltip", style: "background-color: #{label.color};", title: escape_once(label.description), |