Event: move validation to annotation and add UniqueEntity constraint on Participation

This commit is contained in:
2023-11-28 13:12:43 +01:00
parent 6d04e477f8
commit e586b8ee5e
6 changed files with 12 additions and 29 deletions

View File

@@ -236,6 +236,7 @@ final class ParticipationController extends AbstractController
return $this->render('@ChillEvent/Participation/new.html.twig', [
'form' => $form->createView(),
'participation' => $participation,
'ignored_participations' => [],
]);
}