Explorar el Código

Merge pull request #1586 from pixelfed/frontend-ui-refactor

Update SiteController
daniel hace 6 años
padre
commit
905ddf0fc9
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      app/Http/Controllers/SiteController.php

+ 1 - 0
app/Http/Controllers/SiteController.php

@@ -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(),