about summary refs log tree commit diff
path: root/app/services
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-03-12 19:46:06 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-03-12 19:46:06 +0100
commit1aa477ac2f0e9195497899691bb5cc16a7034c01 (patch)
treec331188d6955cbdd12e78bc6ccdb2329b5dddf67 /app/services
parentaab9f57e369c492bad03bcf15411394897314b4d (diff)
Customized more doorkeeper views, only logged in users can create oauth apps
Diffstat (limited to 'app/services')
-rw-r--r--app/services/precompute_feed_service.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/precompute_feed_service.rb b/app/services/precompute_feed_service.rb
index bcc757222..0fb33db23 100644
--- a/app/services/precompute_feed_service.rb
+++ b/app/services/precompute_feed_service.rb
@@ -18,11 +18,11 @@ class PrecomputeFeedService < BaseService
   end
 
   def home(account)
-    Status.where(account: [account] + account.following).with_includes.with_counts
+    Status.where(account: [account] + account.following).with_includes.with_counters
   end
 
   def mentions(account)
-    Status.where(id: Mention.where(account: account).pluck(:status_id)).with_includes.with_counts
+    Status.where(id: Mention.where(account: account).pluck(:status_id)).with_includes.with_counters
   end
 
   def key(type, id)