Move controller->request specs for api/v1/statuses/* (#28818)
This commit is contained in:
parent
5efb00ddb8
commit
7ecf7f5403
4 changed files with 69 additions and 48 deletions
|
@ -14,7 +14,7 @@ class Api::V1::Statuses::RebloggedByAccountsController < Api::V1::Statuses::Base
|
|||
|
||||
def load_accounts
|
||||
scope = default_accounts
|
||||
scope = scope.where.not(id: current_account.excluded_from_timeline_account_ids) unless current_account.nil?
|
||||
scope = scope.not_excluded_by_account(current_account) unless current_account.nil?
|
||||
scope.merge(paginated_statuses).to_a
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue