From db05769f9182bc13efd9014da0a8a6cd2b3748db Mon Sep 17 00:00:00 2001 From: K Muller Date: Thu, 11 Jun 2026 11:05:16 +0200 Subject: [PATCH] fix: :bug: error on redirect page in start_game state --- app/Http/Middleware/RedirectToGoldenIfVoteOpen.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Middleware/RedirectToGoldenIfVoteOpen.php b/app/Http/Middleware/RedirectToGoldenIfVoteOpen.php index 147e4f49..8ecf8972 100644 --- a/app/Http/Middleware/RedirectToGoldenIfVoteOpen.php +++ b/app/Http/Middleware/RedirectToGoldenIfVoteOpen.php @@ -20,7 +20,7 @@ class RedirectToGoldenIfVoteOpen $isClubContext = str_starts_with($request->route()->getName(), 'club.'); $targetRoute = match ($currentState) { - 'start_game' => 'club.home.show', + 'start_game' => 'fo.golden-crush', 'vote' => $isClubContext ? 'club.golden-crush' : 'fo.golden-crush', 'end_participation' => $isClubContext ? 'club.golden-crush.end-of-participation' : 'fo.participation-ended', 'end_game' => $isClubContext ? 'club.golden-crush.end-of-game' : 'fo.game-ended',