From 210b77b10ba76791c90caf2b1cbc26839c710cbb Mon Sep 17 00:00:00 2001 From: Yisroel Baum Date: Sun, 12 Apr 2026 22:40:22 +0300 Subject: [PATCH] make new route for text creation --- bootstrap/app.php | 1 + 1 file changed, 1 insertion(+) diff --git a/bootstrap/app.php b/bootstrap/app.php index 5d081cd..3299b05 100644 --- a/bootstrap/app.php +++ b/bootstrap/app.php @@ -13,5 +13,6 @@ $app->addErrorMiddleware(true, true, true); $app->get('/admin', [ViewController::class, 'admin']); $app->get('/admin/texts', [ViewController::class, 'texts']); +$app->post('/admin/texts', [ViewController::class, 'createText']); return $app;