remove redundant map

This commit is contained in:
Francis 2021-05-05 12:03:30 +02:00
parent 84dfdf596f
commit 6cb9b0a622
No known key found for this signature in database
GPG Key ID: 071BEA4C2B10077C
1 changed files with 0 additions and 1 deletions

View File

@ -17,7 +17,6 @@ module EventsHelper
Set.new(items
.find_all('/events/*/*')
.flat_map { |i| i[:tags] || [] })
.map{ |y| y.split.map(&:capitalize).join(' ') }
.to_a
.sort
.uniq.map { |y| [y, items["/events/#{y.gsub(' ', '_')}.html"]]}