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