about summary refs log tree commit diff
path: root/app/controllers/api/accounts_controller.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-09-18 12:28:49 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-09-18 12:28:49 +0200
commitadffc7a49527d816f95e34268ebf196d9f020579 (patch)
tree1ed7992d34ed855168bfe8e3dd69290b25d8d520 /app/controllers/api/accounts_controller.rb
parentbf4ee145f907f311c686c69ac28f006c8a4735af (diff)
Fix #43
Diffstat (limited to 'app/controllers/api/accounts_controller.rb')
-rw-r--r--app/controllers/api/accounts_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/accounts_controller.rb b/app/controllers/api/accounts_controller.rb
index 4a4431b2d..1a19ae43e 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.with_includes.with_counters.paginate_by_max_id(20, params[:max_id] || nil)
+    @statuses = @account.statuses.with_includes.with_counters.paginate_by_max_id(20, params[:max_id] || nil).to_a
   end
 
   def follow