Add /donation/cancel route to fix 404 on cancelled PayPal donations

Redirects to the game dashboard instead of 404ing.
This commit is contained in:
Frank
2026-07-11 22:19:51 +02:00
parent 51679d9a6a
commit c06c45cb52
@@ -29,4 +29,10 @@ final class HomeController extends AbstractController
return $this->render(
'website/home/help_wanted.html.twig');
}
#[Route(path: '/donation/cancel', name: 'website_donation_cancel')]
public function donationCancel(): Response
{
return $this->redirectToRoute('game_dashboard');
}
}