Files
This commit is contained in:
12
resources/routes/ventas.php
Normal file
12
resources/routes/ventas.php
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
use Incoviba\API\Common\Controller\Ventas;
|
||||
|
||||
$app->group('/ventas', function ($app) {
|
||||
$app->post('/add[/]', [Ventas::class, 'add']);
|
||||
$app->get('[/]', Ventas::class);
|
||||
});
|
||||
$app->group('/venta/{venta_id}', function ($app) {
|
||||
$app->put('/edit[/]', [Ventas::class, 'edit']);
|
||||
$app->delete('/edit[/]', [Ventas::class, 'delete']);
|
||||
$app->get('[/]', [Ventas::class, 'show']);
|
||||
});
|
Reference in New Issue
Block a user