]> _ Git - cubist_cms-back.git/commitdiff
Decode global settings. WIP #2738 @0.25
authorStephen Cameron <stephen@cubedesigners.com>
Tue, 9 Jul 2019 17:56:57 +0000 (19:56 +0200)
committerStephen Cameron <stephen@cubedesigners.com>
Tue, 9 Jul 2019 17:56:57 +0000 (19:56 +0200)
src/app/Http/Controllers/CubistFrontController.php

index 8365161ca0e36adfc3a8ff13a83870d1991fbecb..1fd8bce7f13b185883a3aef490f932230f009de9 100644 (file)
@@ -12,7 +12,7 @@ class CubistFrontController extends BaseController
 
     public function __construct()
     {
-        $this->data['global'] = Settings::find(1);
+        $this->data['global'] = Settings::find(1)->withFakes()->getDecodedAttributes();
     }
 
     protected function _404()