mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 09:26:54 -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")
|
.order("topics_month DESC")
|
||||||
.secured(@guardian)
|
.secured(@guardian)
|
||||||
.limit(@limit)
|
.limit(@limit)
|
||||||
.to_a
|
|
||||||
|
|
||||||
categories.each do |c|
|
categories.each do |c|
|
||||||
@results.add_result(SearchResult.from_category(c))
|
@results.add_result(SearchResult.from_category(c))
|
||||||
|
Loading…
Reference in New Issue
Block a user