add today view route and template

This commit is contained in:
Yisroel Baum 2026-04-26 21:24:35 +03:00
parent 0b4d7238af
commit bfacb5b62c
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
5 changed files with 60 additions and 1 deletions

View file

@ -38,6 +38,16 @@ class ViewController
return $response;
}
public function today(Response $response): Response
{
$html = file_get_contents(
__DIR__ . '/../../views/templates/today.php'
);
$response->getBody()->write($html);
return $response;
}
public function login(Response $response): Response
{
$html = file_get_contents(