From 1a0e5519f6c5fe9b1d5b4b628e56ae4defc3c6d8 Mon Sep 17 00:00:00 2001 From: Peng DU Date: Tue, 20 Sep 2016 11:39:49 +0200 Subject: [PATCH] change groups cache key name --- app/views/api/groups/index.json.jbuilder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/api/groups/index.json.jbuilder b/app/views/api/groups/index.json.jbuilder index fb5c92e77..6a8f3029e 100644 --- a/app/views/api/groups/index.json.jbuilder +++ b/app/views/api/groups/index.json.jbuilder @@ -1,3 +1,3 @@ -json.cache! @groups do +json.cache! ['v1', @groups] do json.partial! 'api/groups/group', collection: @groups, as: :group end