diff options
author | nicolas <nclm@users.noreply.github.com> | 2016-11-25 08:53:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-25 08:53:34 +0100 |
commit | 9af6c52a41664e5b6dd7c200d696499e00cf1c01 (patch) | |
tree | e56114e766ee39c4825a556c0dc12e90240faece /app/controllers/api/v1/accounts_controller.rb | |
parent | 60577f4c6ee9f4a4c9af0a41a8954e19a5f2c8cf (diff) | |
parent | 543d06971e461510591ff64ebc666bd414e8e084 (diff) |
Merge pull request #3 from Gargron/master
Merge
Diffstat (limited to 'app/controllers/api/v1/accounts_controller.rb')
-rw-r--r-- | app/controllers/api/v1/accounts_controller.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/app/controllers/api/v1/accounts_controller.rb b/app/controllers/api/v1/accounts_controller.rb index 4ae900583..5546ee588 100644 --- a/app/controllers/api/v1/accounts_controller.rb +++ b/app/controllers/api/v1/accounts_controller.rb @@ -46,16 +46,6 @@ class Api::V1::AccountsController < ApiController render action: :index end - def common_followers - @accounts = @account.common_followers_with(current_user.account) - render action: :index - end - - def suggestions - @accounts = FollowSuggestion.get(current_user.account_id) - render action: :index - end - def statuses @statuses = @account.statuses.paginate_by_max_id(DEFAULT_STATUSES_LIMIT, params[:max_id], params[:since_id]).to_a @statuses = cache(@statuses) |