Make sure charts are cached.

This commit is contained in:
James Cole
2015-12-25 07:43:34 +01:00
parent 63969f5a33
commit 33d9148029

View File

@@ -370,7 +370,7 @@ class CategoryController extends Controller
$cache->addProperty('category'); $cache->addProperty('category');
$cache->addProperty('earned-in-period'); $cache->addProperty('earned-in-period');
if ($cache->has()) { if ($cache->has()) {
//return Response::json($cache->get()); // @codeCoverageIgnore return Response::json($cache->get()); // @codeCoverageIgnore
} }
$categories = new Collection; $categories = new Collection;
$sets = new Collection; $sets = new Collection;
@@ -474,7 +474,7 @@ class CategoryController extends Controller
$cache->addProperty('category'); $cache->addProperty('category');
$cache->addProperty('spent-in-period'); $cache->addProperty('spent-in-period');
if ($cache->has()) { if ($cache->has()) {
//return Response::json($cache->get()); // @codeCoverageIgnore return Response::json($cache->get()); // @codeCoverageIgnore
} }
$categories = new Collection; $categories = new Collection;
$sets = new Collection; $sets = new Collection;