diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-12 16:09:46 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-12 16:21:53 +0100 |
commit | aab9f57e369c492bad03bcf15411394897314b4d (patch) | |
tree | ae8cf704e2b2321993cabf326af82ae0f86b6697 /app/controllers/api | |
parent | 447cfef62d74a670ddd600c0240f41746ac2fe0a (diff) |
Adding config for puma, dashboard layout, fixing some queries
Diffstat (limited to 'app/controllers/api')
-rw-r--r-- | app/controllers/api/accounts_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/accounts_controller.rb b/app/controllers/api/accounts_controller.rb index ac16ed7c1..13c2b3d8a 100644 --- a/app/controllers/api/accounts_controller.rb +++ b/app/controllers/api/accounts_controller.rb @@ -15,7 +15,7 @@ class Api::AccountsController < ApiController end def statuses - @statuses = @account.statuses.order('created_at desc') + @statuses = @account.statuses.with_includes.with_counts.order('created_at desc') end def follow |