mirror of
https://github.com/kikobar/mastodon.git
synced 2024-12-24 14:54:13 +00:00
Caching should work correctly now (fingers crossed)
This commit is contained in:
parent
562044f36a
commit
c003e70758
|
@ -1,5 +1,5 @@
|
|||
object @account
|
||||
cache false
|
||||
|
||||
attribute :id
|
||||
node(:following) { |account| @following[account.id] || false }
|
||||
node(:followed_by) { |account| @followed_by[account.id] || false }
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
object @account
|
||||
cache false
|
||||
cache
|
||||
|
||||
attributes :id, :username, :acct, :display_name, :note
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
object @context
|
||||
cache false
|
||||
|
||||
node :ancestors do |context|
|
||||
partial 'api/v1/statuses/index', object: context.ancestors
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
object @status
|
||||
cache false
|
||||
cache
|
||||
|
||||
extends 'api/v1/statuses/_show'
|
||||
|
||||
|
|
Loading…
Reference in a new issue