Customized more doorkeeper views, only logged in users can create oauth apps
This commit is contained in:
parent
aab9f57e36
commit
1aa477ac2f
16 changed files with 234 additions and 102 deletions
|
@ -18,11 +18,11 @@ class PrecomputeFeedService < BaseService
|
|||
end
|
||||
|
||||
def home(account)
|
||||
Status.where(account: [account] + account.following).with_includes.with_counts
|
||||
Status.where(account: [account] + account.following).with_includes.with_counters
|
||||
end
|
||||
|
||||
def mentions(account)
|
||||
Status.where(id: Mention.where(account: account).pluck(:status_id)).with_includes.with_counts
|
||||
Status.where(id: Mention.where(account: account).pluck(:status_id)).with_includes.with_counters
|
||||
end
|
||||
|
||||
def key(type, id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue