add today view route and template
This commit is contained in:
parent
0b4d7238af
commit
bfacb5b62c
5 changed files with 60 additions and 1 deletions
|
|
@ -27,6 +27,7 @@ $app->post('/api/auth/register', [AuthController::class, 'register']);
|
|||
// Authenticated routes (any logged-in user)
|
||||
$app->group('', function (RouteCollectorProxy $group) {
|
||||
$group->get('/home', [ViewController::class, 'home']);
|
||||
$group->get('/today', [ViewController::class, 'today']);
|
||||
|
||||
$group->post('/api/auth/logout', [AuthController::class, 'logout']);
|
||||
$group->get('/api/auth/me', [AuthController::class, 'me']);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue