diff --git a/app/controllers/HomeController.php b/app/controllers/HomeController.php index 693eb1e..9ee17eb 100644 --- a/app/controllers/HomeController.php +++ b/app/controllers/HomeController.php @@ -3,13 +3,10 @@ class HomeController { public function display($f3){ - // $db = $f3->get('DB'); - // echo \Template::instance()->render('../ui/views/home.html'); + + $f3->set('content', '/ui/views/home.html'); echo \Template::instance()->render('../ui/templates/layout.html'); - - // Query - // View } // ... } \ No newline at end of file diff --git a/ui/templates/layout.html b/ui/templates/layout.html index 75cb4ec..d34cdeb 100644 --- a/ui/templates/layout.html +++ b/ui/templates/layout.html @@ -4,7 +4,7 @@
-