add today view route and template
This commit is contained in:
parent
0b4d7238af
commit
bfacb5b62c
5 changed files with 60 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue