add home controller method

This commit is contained in:
Yisroel Baum 2026-04-23 10:02:10 +03:00
parent 1c2ca21f44
commit 29db3aec55
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9

View file

@ -29,4 +29,12 @@ class ViewController
return $response;
}
public function home(Response $response): Response
{
$html = file_get_contents(__DIR__ . '/../../views/templates/home.php', true);
$response->getBody()->write($html);
return $response;
}
}