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