Create organisation functionality
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user