This commit is contained in:
2020-12-12 01:02:16 -03:00
parent 8bc3037e13
commit 0ae24f9644
18 changed files with 0 additions and 427 deletions

View File

@ -1,23 +0,0 @@
<?php
use ProVM\TotalSport\Common\Controller\Web\Admin\Eventos;
$app->group('/eventos', function($app) {
$app->group('/add', function($app) {
$app->get('[/]', [Eventos::class, 'add']);
$app->post('[/]', [Eventos::class, 'do_add']);
});
$app->get('[/]', Eventos::class);
});
$app->group('/evento/{evento}', function($app) {
$app->post('/edit', [Eventos::class, 'edit']);
$app->get('/delete', [Eventos::class, 'delete']);
$app->group('/image', function($app) {
$app->post('/add', [Eventos::class, 'addImage']);
$app->post('/delete', [Eventos::class, 'deleteImage']);
});
$app->group('/video', function($app) {
$app->post('/add', [Eventos::class, 'addVideo']);
$app->post('/delete', [Eventos::class, 'deleteImage']);
});
$app->get('[/]', [Eventos::class, 'show']);
});