Update SiteController

pull/1586/head
Daniel Supernault 6 years ago
parent 3f04fce13f
commit aa7c6632c2
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -43,6 +43,7 @@ class SiteController extends Controller
public function about()
{
return Cache::remember('site:about', now()->addHours(12), function() {
app()->setLocale('en');
$page = Page::whereSlug('/site/about')->whereActive(true)->first();
$stats = [
'posts' => Status::whereLocal(true)->count(),

Loading…
Cancel
Save