This commit is contained in:
2021-08-16 22:13:08 -04:00
parent 740de41139
commit 49374254e4
24 changed files with 466 additions and 58 deletions

View File

@ -0,0 +1,15 @@
<?php
use Incoviba\Common\Controller\Proyectos;
$app->group('/proyectos', function($app) {
$app->get('[/]', Proyectos::class);
});
$app->group('/proyecto/{id_proyecto}', function($app) {
$app->group('/ventas', function($app) {
$app->get('[/]', [Proyectos::class, 'ventas']);
});
$app->group('/operadores', function($app) {
$app->get('[/]', [Proyectos::class, 'operadores']);
});
$app->get('[/]', [Proyectos::class, 'show']);
});