feature/cierres (#25)
Varios cambios Co-authored-by: Juan Pablo Vial <jpvialb@incoviba.cl> Reviewed-on: #25
This commit is contained in:
@ -2,5 +2,9 @@
|
||||
use Incoviba\Controller\API\Admin\Users;
|
||||
|
||||
$app->group('/users', function($app) {
|
||||
$app->post('/add[/]', Users::class . ':add');
|
||||
$app->post('/add[/]', [Users::class, 'add']);
|
||||
});
|
||||
$app->group('/user/{user_id}', function($app) {
|
||||
$app->post('/edit[/]', [Users::class, 'edit']);
|
||||
$app->delete('[/]', [Users::class, 'delete']);
|
||||
});
|
||||
|
Reference in New Issue
Block a user