diff --git a/Controller.php b/Controller.php index f9c3f42..a0299b1 100644 --- a/Controller.php +++ b/Controller.php @@ -156,7 +156,7 @@ class Controller extends ModuleAbstract implements WebInterface /** @var Head $head */ $head = $response->get('Content')->getData('head'); $head->addAsset(AssetType::CSS, '/Modules/Calendar/Theme/Backend/css/styles.css'); - + $view->setTemplate('/Modules/Profile/Theme/Backend/profile-single'); $view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1000301001, $request, $response)); diff --git a/Models/Profile.php b/Models/Profile.php index 261ef48..5d271e1 100644 --- a/Models/Profile.php +++ b/Models/Profile.php @@ -42,7 +42,7 @@ class Profile private $calendar = null; - public function __construct() + public function __construct() { $this->image = new NullMedia(); $this->birthday = new \DateTime('now'); @@ -60,7 +60,7 @@ class Profile return $this->location; } - public function addLocation(Location $location) + public function addLocation(Location $location) { $this->location[] = $location; }