Zona admin
This commit is contained in:
13
resources/routes/web/admin/home.php
Normal file
13
resources/routes/web/admin/home.php
Normal file
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
use ProVM\KI\Common\Controller\Web\Admin\Home;
|
||||
|
||||
$app->group('/home', function($app) {
|
||||
$app->group('/avisos', function($app) {
|
||||
$app->post('/add', [Home::class, 'add']);
|
||||
$app->post('/delete', [Home::class, 'delete']);
|
||||
});
|
||||
$app->group('/resumen', function($app) {
|
||||
$app->post('/edit', [Home::class, 'edit']);
|
||||
});
|
||||
$app->get('[/]', Home::class);
|
||||
});
|
Reference in New Issue
Block a user