Restored some cache [skip ci]

This commit is contained in:
James Cole
2015-06-27 22:22:27 +02:00
parent 2c2ed26c38
commit 4673170531
10 changed files with 19 additions and 26 deletions

View File

@@ -55,7 +55,7 @@ class ReportController extends Controller
$cache->addProperty($year);
$cache->addProperty($shared);
if ($cache->has()) {
//return Response::json($cache->get()); // @codeCoverageIgnore
return Response::json($cache->get()); // @codeCoverageIgnore
}
$entries = new Collection;
@@ -95,7 +95,7 @@ class ReportController extends Controller
$cache->addProperty($year);
$cache->addProperty($shared);
if ($cache->has()) {
//return Response::json($cache->get()); // @codeCoverageIgnore
return Response::json($cache->get()); // @codeCoverageIgnore
}
$start = new Carbon($year . '-01-01');