Create organisation functionality

This commit is contained in:
bwilliams committed 2022-02-04 11:23:48 +00:00
1 parent 584aa1909e
commit f850e4cace
11 files changed
+346 -1

No files matched your search

+8 -1
View File
@@ -19,6 +19,13 @@ $app->group('/organisations', function () {
$app->group('/api/organisations', function () {
$this->get('', 'UserFrosting\Sprinkle\Organisations\Controller\OrganisationController:getList');
$this->post('', 'UserFrosting\Sprinkle\Organisations\Controller\OrganisationController:create');
})->add('authGuard')->add(new NoCache());
// TODO: add route for accepting members
$app->group('/modals/organisations', function () {
$this->get('/create', 'UserFrosting\Sprinkle\Organisations\Controller\OrganisationController:getModalCreate');
})->add('authGuard')->add(new NoCache());
// TODO: add route for accepting members
// TODO: add route for verifying organisations