make new route for text creation

This commit is contained in:
Yisroel Baum 2026-04-12 22:40:22 +03:00
parent 72d92debab
commit 210b77b10b
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9

View file

@ -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;