remove redundant map
This commit is contained in:
parent
84dfdf596f
commit
6cb9b0a622
1 changed files with 0 additions and 1 deletions
|
@ -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"]]}
|
||||
|
|
Loading…
Reference in a new issue