Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@gmail.com>2014-10-09 11:47:47 +0400
committerCiro Santilli <ciro.santilli@gmail.com>2015-01-01 23:12:00 +0300
commit33c9f05c6bb90a995ddc685b4a22479f17c575e5 (patch)
tree8dd374b515eeb5e9194ab3c52e46b569cfb5f2e8 /app/helpers/tags_helper.rb
parentac1584249c262e447a6360734597fa17fe077718 (diff)
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