Skip to content

Commit

Permalink
register new route /platform/logout/
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasVHG committed Dec 6, 2023
1 parent 099911d commit c94f705
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/WebApplication.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
use CultuurNet\ProjectAanvraag\ErrorHandler\JsonErrorHandler;
use CultuurNet\ProjectAanvraag\IntegrationType\IntegrationTypeControllerProvider;
use CultuurNet\ProjectAanvraag\Platform\PlatformClientInterface;
use CultuurNet\ProjectAanvraag\Platform\PlatformControllerProvider;
use CultuurNet\ProjectAanvraag\Project\ProjectControllerProvider;
use CultuurNet\ProjectAanvraag\Security\UiTIDSecurityServiceProvider;
use CultuurNet\ProjectAanvraag\Voter\ImportVoter;
Expand Down Expand Up @@ -115,6 +116,7 @@ protected function registerProviders()
new Path('^/upload', 'POST'),
new Path('^/project/.*$', 'POST'),
new Path('^/project/[A-z0-9\-]*/widget/.*$', 'GET'),
new Path('^/platform/logout/', 'GET'),
new Path('^.*$', 'OPTIONS'),
]
),
Expand Down Expand Up @@ -157,6 +159,7 @@ protected function registerProviders()
protected function mountControllers()
{
$this->mount('project', new ProjectControllerProvider());
$this->mount('platform', new PlatformControllerProvider());
$this->mount('integration-types', new IntegrationTypeControllerProvider());
$this->mount('coupons', new CouponControllerProvider());

Expand Down

0 comments on commit c94f705

Please sign in to comment.