We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe734bc commit 4f87cbdCopy full SHA for 4f87cbd
webapp/src/Controller/Jury/AnalysisController.php
@@ -10,6 +10,7 @@
10
use App\Service\StatisticsService;
11
use Doctrine\ORM\EntityManagerInterface;
12
use Doctrine\ORM\Query\Expr;
13
+use Symfony\Bridge\Doctrine\Attribute\MapEntity;
14
use Symfony\Component\HttpKernel\Attribute\MapQueryParameter;
15
use Symfony\Component\Security\Http\Attribute\IsGranted;
16
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
@@ -99,6 +100,7 @@ public function teamAction(Team $team): Response
99
100
101
#[Route(path: '/problem/{probid}', name: 'analysis_problem')]
102
public function problemAction(
103
+ #[MapEntity(id: 'probid')]
104
Problem $problem,
105
#[MapQueryParameter]
106
?string $view = null
0 commit comments