From ff3e0b26f7915a713a95cdea66134ac4970d4841 Mon Sep 17 00:00:00 2001 From: Yisroel Baum Date: Thu, 23 Apr 2026 10:02:22 +0300 Subject: [PATCH] add home route --- bootstrap/app.php | 1 + 1 file changed, 1 insertion(+) diff --git a/bootstrap/app.php b/bootstrap/app.php index 6dfce21..db0dd63 100644 --- a/bootstrap/app.php +++ b/bootstrap/app.php @@ -13,6 +13,7 @@ $app = Bridge::create($container); // change first param to false for production $app->addErrorMiddleware(true, true, true); +$app->get('/home', [ViewController::class, 'home']); $app->get('/admin', [ViewController::class, 'admin']); $app->get('/admin/texts', [ViewController::class, 'texts']); $app->get('/admin/texts/{textId}', [ViewController::class, 'text']);