about summary refs log tree commit diff
path: root/app/controllers/api
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-03-18 23:23:19 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-03-18 23:23:19 +0100
commit9a7485d03407b8177a51d900ac9aabbca893a2c1 (patch)
tree091b0c06c3031cc8b03f7453bc8c9a0eae9d8823 /app/controllers/api
parent15476d505d7dfe4660281a326a9f620e94634ba8 (diff)
Fix typo on /api/accounts/:id/statuses, fix potential case-sensitivity issue
when registering incoming status mentions, add Travis CI file
Diffstat (limited to 'app/controllers/api')
-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 782cc8102..f543ea98d 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_counts.order('created_at desc')
+    @statuses = @account.statuses.with_includes.with_counters.order('created_at desc')
   end
 
   def follow