0.1.0
This commit is contained in:
10
resources/routes/04_proyectos.php
Normal file
10
resources/routes/04_proyectos.php
Normal file
@ -0,0 +1,10 @@
|
||||
<?php
|
||||
$app->group('/proyectos', function($app) {
|
||||
$app->get('[/]', \Incoviba\UI\Common\Controller\Proyectos::class);
|
||||
});
|
||||
$app->group('/proyecto/{proyecto_id}', function($app) {
|
||||
$app->group('/precios', function($app) {
|
||||
$app->get('/add', [\Incoviba\UI\Common\Controller\Precios::class, 'add']);
|
||||
$app->get('[/]', [\Incoviba\UI\Common\Controller\Proyectos::class, 'precios']);
|
||||
});
|
||||
});
|
6
resources/routes/05_ventas.php
Normal file
6
resources/routes/05_ventas.php
Normal file
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
$app->group('/ventas', function($app) {
|
||||
$app->get('/{proyecto_id}', [\Incoviba\UI\Common\Controller\Ventas::class, 'get']);
|
||||
$app->get('[/]', \Incoviba\UI\Common\Controller\Ventas::class);
|
||||
});
|
||||
$app->get('/precios', [\Incoviba\UI\Common\Controller\Precios::class, 'proyectos']);
|
Reference in New Issue
Block a user