Split organisation member management out of the organisation controller into a sub-controller
This commit is contained in:
17
routes/organisation-members.php
Normal file
17
routes/organisation-members.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* AVSDev UF Organisations (https://avsdev.uk)
|
||||
*
|
||||
* @link https://git.avsdev.uk/avsdev/sprinkle-organisations
|
||||
* @license https://git.avsdev.uk/avsdev/sprinkle-organisations/blob/master/LICENSE.md (LGPL-3.0 License)
|
||||
*/
|
||||
|
||||
use UserFrosting\Sprinkle\Core\Util\NoCache;
|
||||
|
||||
/*
|
||||
* Routes for administrative organisation member management.
|
||||
*/
|
||||
$app->group('/api/organisations/o/{slug}/members', function () {
|
||||
$this->get('', 'UserFrosting\Sprinkle\Organisations\Controller\OrganisationMembersController:getList');
|
||||
})->add('authGuard')->add(new NoCache());
|
||||
Reference in New Issue
Block a user