fix: 🐛 error on redirect page in start_game state
This commit is contained in:
parent
0cd4c2d3cb
commit
db05769f91
1 changed files with 1 additions and 1 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue