mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 01:16:38 -06:00
to_a not needed
This commit is contained in:
parent
1649f56529
commit
fa4a8e052f
@ -126,7 +126,6 @@ class Search
|
||||
.order("topics_month DESC")
|
||||
.secured(@guardian)
|
||||
.limit(@limit)
|
||||
.to_a
|
||||
|
||||
categories.each do |c|
|
||||
@results.add_result(SearchResult.from_category(c))
|
||||
|
Loading…
Reference in New Issue
Block a user