From 27f5638ebc3efc34d22e5b8f5f844ae20c17d59c Mon Sep 17 00:00:00 2001 From: Yisroel Baum Date: Mon, 11 May 2026 19:01:16 +0300 Subject: [PATCH] empty path leads to home view --- bootstrap/app.php | 1 + 1 file changed, 1 insertion(+) diff --git a/bootstrap/app.php b/bootstrap/app.php index 1e4d6cf..5e80c73 100644 --- a/bootstrap/app.php +++ b/bootstrap/app.php @@ -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('/', [ViewController::class, 'home']); $group->get('/home', [ViewController::class, 'home']); $group->get('/today', [ViewController::class, 'today']); $group->get('/texts', [ViewController::class, 'userTexts']);