add references to user statistics page about saved searches
This commit is contained in:
@@ -8,7 +8,7 @@ class PopularSearchService
|
||||
end
|
||||
|
||||
def each_search(limit = 100, &block)
|
||||
fetch_data.scan(/(.+?) (\d+)\.0\n/).slice(0, limit).each(&block)
|
||||
fetch_data.to_s.scan(/(.+?) (\d+)\.0\n/).slice(0, limit).each(&block)
|
||||
end
|
||||
|
||||
def fetch_data
|
||||
|
||||
Reference in New Issue
Block a user