diff options
author | Phil Hughes <me@iamphill.com> | 2016-05-24 16:16:22 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-06-09 19:19:14 +0300 |
commit | 051dc1d263b6be305c30e928238f4f7389200433 (patch) | |
tree | c11972548835a0cd71e1e54c11870cb11c2382a2 /app | |
parent | e7ca709a9249236a3894833af67471ade4eb1d07 (diff) |
Fixed failing tests
Diffstat (limited to 'app')
-rw-r--r-- | app/helpers/labels_helper.rb | 2 |
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, |