summaryrefslogtreecommitdiff
path: root/app/helpers/labels_helper.rb
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-04-26 09:13:03 +0100
committerPhil Hughes <me@iamphill.com>2016-04-26 09:13:03 +0100
commit0158b86d8c1d5f72a249420e5f91ea8e59ff218b (patch)
tree0a8179269e11f0ff3ec48c76150978268b5305c7 /app/helpers/labels_helper.rb
parent6ff740ff9484691750f3eadf12125fd362efe61c (diff)
downloadgitlab-ce-0158b86d8c1d5f72a249420e5f91ea8e59ff218b.tar.gz
Updated label links to work correctly for filteringsidebar-label-link
See !3846#note_5033951
Diffstat (limited to 'app/helpers/labels_helper.rb')
-rw-r--r--app/helpers/labels_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/labels_helper.rb b/app/helpers/labels_helper.rb
index 3dded7c2f23..c99b137cdaa 100644
--- a/app/helpers/labels_helper.rb
+++ b/app/helpers/labels_helper.rb
@@ -37,7 +37,7 @@ module LabelsHelper
link = send("namespace_project_#{type.to_s.pluralize}_path",
project.namespace,
project,
- label_name: label.name)
+ label_name: [label.name])
if block_given?
link_to link, &block