aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2018-04-08 15:00:17 -0400
committerAlec Warner <antarus@gentoo.org>2018-04-08 15:00:17 -0400
commit55c4294fef873536785512ea89ffbf572c90dd54 (patch)
tree6cc781d2ae720bc962dd71a7ab012fb4cd165a59
parents/join/safe_join/. (diff)
downloadpackages-55c4294fef873536785512ea89ffbf572c90dd54.tar.gz
packages-55c4294fef873536785512ea89ffbf572c90dd54.tar.bz2
packages-55c4294fef873536785512ea89ffbf572c90dd54.zip
safe_join is not an array function.v6.0.14
-rw-r--r--app/views/packages/_changelog_entry.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/packages/_changelog_entry.html.erb b/app/views/packages/_changelog_entry.html.erb
index 3488c3f..4c4bd96 100644
--- a/app/views/packages/_changelog_entry.html.erb
+++ b/app/views/packages/_changelog_entry.html.erb
@@ -1,7 +1,7 @@
<li class="list-group-item">
<strong><%= annotate_bugs changelog[:message].lines.first %></strong>
<br>
- <%= changelog[:message].lines[1..-1].map {|line| annotate_bugs line}.safe_join %>
+ <%= safe_join(changelog[:message].lines[1..-1].map {|line| annotate_bugs line}, '') %>
<br>
<div class="kk-byline">
<%= mail_to changelog[:email], changelog[:author] %>,