17 lines
493 B
PHP
17 lines
493 B
PHP
<?php
|
|
|
|
/*
|
|
* AVSDev UF Tweaks (https://avsdev.uk)
|
|
*
|
|
* @link https://git.avsdev.uk/avsdev/sprinkle-uf-tweaks
|
|
* @license https://git.avsdev.uk/avsdev/sprinkle-uf-tweaks/blob/master/LICENSE.md (LGPL-3.0 License)
|
|
*/
|
|
|
|
use UserFrosting\Sprinkle\Core\Util\NoCache;
|
|
|
|
/*
|
|
* Routes for administrative role management.
|
|
*/
|
|
$app->group('/api/roles', function () {
|
|
$this->get('/', 'UserFrosting\Sprinkle\UFTweaks\Controller\RoleController:getList');
|
|
})->add('authGuard')->add(new NoCache()); |