This commit is contained in:
2025-09-18 11:40:18 +02:00
parent 92976d8496
commit bcdf788be3
4 changed files with 37 additions and 36 deletions

View File

@@ -119,7 +119,7 @@ class GroupController extends AbstractController
throw new NotFoundHttpException('La ressource demandée est introuvable.');
}
$attribute = constant(GroupVoter::class.'::MOVE'.$status);
$attribute = constant(GroupVoter::class.'::MOVETO'.$status);
$this->denyAccessUnlessGranted($attribute, $group);
$group->setStatus(constant(Group::class.'::'.$status));