11 lines
296 B
PHP
11 lines
296 B
PHP
<?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']);
|
|
});
|