From effd6a73291031fd0ab48cc331294b20279f0840 Mon Sep 17 00:00:00 2001 From: filippo.bertilotti <filippobertilotti@gmail.com> Date: Wed, 05 Jun 2024 12:12:17 +0200 Subject: [PATCH] test render --- src/App/Controllers/fiat.php | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/App/Controllers/fiat.php b/src/App/Controllers/fiat.php index 30f9ee7..f9cace6 100644 --- a/src/App/Controllers/fiat.php +++ b/src/App/Controllers/fiat.php @@ -1,11 +1,10 @@ <?php namespace App\Controllers; use Framework\Controller; -class Home extends Controller { +class Fiat extends Controller { public function index() { - echo $this->viewer->render("shared/header.php"); - - echo $this->viewer->render("Home/index.php"); + return $this->view("Fiat/index.mvc.php", [ + ]); } } \ No newline at end of file -- Gitblit v1.8.0