From c003e7075880071743af06cfb5865bdb943db024 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Thu, 3 Nov 2016 14:12:45 +0100 Subject: Caching should work correctly now (fingers crossed) --- app/views/api/v1/accounts/relationship.rabl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/api/v1/accounts/relationship.rabl') diff --git a/app/views/api/v1/accounts/relationship.rabl b/app/views/api/v1/accounts/relationship.rabl index 4f634877f..84043e9cd 100644 --- a/app/views/api/v1/accounts/relationship.rabl +++ b/app/views/api/v1/accounts/relationship.rabl @@ -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 } -- cgit