summaryrefslogtreecommitdiff
path: root/app/helpers/tags_helper.rb
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@gmail.com>2014-10-09 09:47:47 +0200
committerCiro Santilli <ciro.santilli@gmail.com>2015-01-01 21:12:00 +0100
commit33c9f05c6bb90a995ddc685b4a22479f17c575e5 (patch)
tree8dd374b515eeb5e9194ab3c52e46b569cfb5f2e8 /app/helpers/tags_helper.rb
parentac1584249c262e447a6360734597fa17fe077718 (diff)
downloadgitlab-ce-33c9f05c6bb90a995ddc685b4a22479f17c575e5.tar.gz
Append in place for strings and arrays
Diffstat (limited to 'app/helpers/tags_helper.rb')
-rw-r--r--app/helpers/tags_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/tags_helper.rb b/app/helpers/tags_helper.rb
index ef89bb32c6d..fb85544df2d 100644
--- a/app/helpers/tags_helper.rb
+++ b/app/helpers/tags_helper.rb
@@ -6,7 +6,7 @@ module TagsHelper
def tag_list(project)
html = ''
project.tag_list.each do |tag|
- html += link_to tag, tag_path(tag)
+ html << link_to(tag, tag_path(tag))
end
html.html_safe