add home route
This commit is contained in:
parent
29db3aec55
commit
ff3e0b26f7
1 changed files with 1 additions and 0 deletions
|
|
@ -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']);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue