Skip to content

Commit

Permalink
Fix repository state view
Browse files Browse the repository at this point in the history
Safe join does not work on a string / array, see documentation:

https://apidock.com/rails/ActionView/Helpers/OutputSafetyHelper/safe_join

Fix #6459
  • Loading branch information
ChrisBr committed Dec 4, 2018
1 parent a2b5720 commit e4fc26b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
Cycles for #{arch.name} (##{cycle.length})
%ul
%li
= cycle.map { |package| link_to(package, package_show_path(project: @project, package: package)) }.join(', ').safe_join
= safe_join(cycle.map { |package| link_to(package, package_show_path(project: @project, package: package)) }, ', ')
- if cycles.empty?
%p
%i
Expand Down

0 comments on commit e4fc26b

Please sign in to comment.