diff options
Diffstat (limited to 'app/controllers/api')
-rw-r--r-- | app/controllers/api/statuses_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/api/statuses_controller.rb b/app/controllers/api/statuses_controller.rb index a4b183ef1..f68f298d8 100644 --- a/app/controllers/api/statuses_controller.rb +++ b/app/controllers/api/statuses_controller.rb @@ -8,8 +8,8 @@ class Api::StatusesController < ApiController def context @status = Status.find(params[:id]) - @ancestors = @status.ancestors.with_includes.with_counters.to_a - @descendants = @status.descendants.with_includes.with_counters.to_a + @ancestors = @status.ancestors + @descendants = @status.descendants end def create |