Skip to content

Commit ea44cfb

Browse files
committed
Change URL parameter name to fix autowiring
The autowiring works if the URL parameter and function parameter have the same name `team`.
1 parent 22b7672 commit ea44cfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webapp/src/Controller/Jury/AnalysisController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function indexAction(
8282
]);
8383
}
8484

85-
#[Route(path: '/team/{teamid}', name: 'analysis_team')]
85+
#[Route(path: '/team/{team}', name: 'analysis_team')]
8686
public function teamAction(Team $team): Response
8787
{
8888
$contest = $this->dj->getCurrentContest();

0 commit comments

Comments
 (0)