Fixed the route name for the organisation page

This commit is contained in:
2022-02-10 12:29:43 +00:00
parent 9d84dcec67
commit dbef49ed6e

View File

@@ -17,7 +17,7 @@ $app->group('/organisations', function () {
->setName('uri_organisations'); ->setName('uri_organisations');
$this->get('/o/{slug}', 'UserFrosting\Sprinkle\Organisations\Controller\OrganisationController:pageInfo') $this->get('/o/{slug}', 'UserFrosting\Sprinkle\Organisations\Controller\OrganisationController:pageInfo')
->setName('uri_organisations'); ->setName('uri_organisation');
})->add('authGuard')->add(new NoCache()); })->add('authGuard')->add(new NoCache());
$app->group('/api/organisations', function () { $app->group('/api/organisations', function () {