Split organisation member management out of the organisation controller into a sub-controller

This commit is contained in:
2022-02-07 12:04:10 +00:00
parent feaf3d5813
commit ae0c884e44
4 changed files with 148 additions and 56 deletions

View File

@@ -31,9 +31,6 @@ $app->group('/api/organisations', function () {
$this->put('/o/{slug}', 'UserFrosting\Sprinkle\Organisations\Controller\OrganisationController:update');
$this->delete('/o/{slug}', 'UserFrosting\Sprinkle\Organisations\Controller\OrganisationController:delete');
$this->get('/o/{slug}/members', 'UserFrosting\Sprinkle\Organisations\Controller\OrganisationController:getMembers');
})->add('authGuard')->add(new NoCache());
$app->group('/modals/organisations', function () {