to_a not needed

This commit is contained in:
Sam 2013-12-13 19:01:35 +11:00
parent 1649f56529
commit fa4a8e052f
1 changed files with 0 additions and 1 deletions

View File

@ -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))