Skip to content

Commit f4706f4

Browse files
committed
Simplify scoreboard.zip route and function name
1 parent ef8c832 commit f4706f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webapp/src/Controller/Jury/ContestController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1038,8 +1038,8 @@ private function doLock(int $contestId, bool $locked): Response
10381038
return $this->redirectToRoute('jury_contest', ['contestId' => $contestId]);
10391039
}
10401040

1041-
#[Route(path: '/{contestId<\d+>}/scoreboard-zip/{type<public|unfrozen>}/contest.zip', name: 'jury_scoreboard_data_zip')]
1042-
public function publicScoreboardDataZipAction(
1041+
#[Route(path: '/{contestId<\d+>}/{type<public|unfrozen>}-scoreboard.zip', name: 'jury_scoreboard_data_zip')]
1042+
public function scoreboardDataZipAction(
10431043
int $contestId,
10441044
string $type,
10451045
RequestStack $requestStack,

0 commit comments

Comments
 (0)