Files
oficial/app/resources/routes/api/admin/users.php

11 lines
296 B
PHP
Raw Normal View History

2024-07-26 23:15:48 -04:00
<?php
use Incoviba\Controller\API\Admin\Users;
$app->group('/users', function($app) {
$app->post('/add[/]', [Users::class, 'add']);
});
$app->group('/user/{user_id}', function($app) {
$app->post('/edit[/]', [Users::class, 'edit']);
$app->delete('[/]', [Users::class, 'delete']);
2024-07-26 23:15:48 -04:00
});