summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-05-24 14:16:22 +0100
committerPhil Hughes <me@iamphill.com>2016-06-09 17:19:14 +0100
commit051dc1d263b6be305c30e928238f4f7389200433 (patch)
treec11972548835a0cd71e1e54c11870cb11c2382a2 /app
parente7ca709a9249236a3894833af67471ade4eb1d07 (diff)
downloadgitlab-ce-051dc1d263b6be305c30e928238f4f7389200433.tar.gz
Fixed failing tests
Diffstat (limited to 'app')
-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 76e000ef01f..5074e645769 100644
--- a/app/helpers/labels_helper.rb
+++ b/app/helpers/labels_helper.rb
@@ -32,7 +32,7 @@ module LabelsHelper
# link_to_label(label) { "My Custom Label Text" }
#
# Returns a String
- def link_to_label(label, project: nil, type: :issue, tooltip: true, css_class: '', &block)
+ def link_to_label(label, project: nil, type: :issue, tooltip: true, css_class: nil, &block)
project ||= @project || label.project
link = send("namespace_project_#{type.to_s.pluralize}_path",
project.namespace,