add references to user statistics page about saved searches

This commit is contained in:
r888888888
2017-01-20 16:42:17 -08:00
parent 48e66cddbb
commit c7b5a4e229
4 changed files with 23 additions and 4 deletions

View File

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