about summary refs log tree commit diff
path: root/app/views/api/v1/statuses
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-11-03 14:12:45 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-11-03 14:12:45 +0100
commitc003e7075880071743af06cfb5865bdb943db024 (patch)
tree7d5b198aadbf53fc86e73b4d3db649cc1adb490c /app/views/api/v1/statuses
parent562044f36ad8ebe388e32eef2e5d44bec4a9af59 (diff)
Caching should work correctly now (fingers crossed)
Diffstat (limited to 'app/views/api/v1/statuses')
-rw-r--r--app/views/api/v1/statuses/context.rabl1
-rw-r--r--app/views/api/v1/statuses/show.rabl2
2 files changed, 1 insertions, 2 deletions
diff --git a/app/views/api/v1/statuses/context.rabl b/app/views/api/v1/statuses/context.rabl
index 24fa40394..0b62f26d5 100644
--- a/app/views/api/v1/statuses/context.rabl
+++ b/app/views/api/v1/statuses/context.rabl
@@ -1,5 +1,4 @@
 object @context
-cache false
 
 node :ancestors do |context|
   partial 'api/v1/statuses/index', object: context.ancestors
diff --git a/app/views/api/v1/statuses/show.rabl b/app/views/api/v1/statuses/show.rabl
index 24493bc3e..1c586a3a5 100644
--- a/app/views/api/v1/statuses/show.rabl
+++ b/app/views/api/v1/statuses/show.rabl
@@ -1,5 +1,5 @@
 object @status
-cache false
+cache
 
 extends 'api/v1/statuses/_show'