From 4082bb171aa384aa884210d358a86c48d00c0df7 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Sun, 4 Feb 2024 16:48:44 +0100 Subject: [PATCH] fix use of IsGranted is CrudController --- src/core/Resources/maker/controller/CrudController.tpl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Resources/maker/controller/CrudController.tpl.php b/src/core/Resources/maker/controller/CrudController.tpl.php index ec89f3b..2e44d4a 100644 --- a/src/core/Resources/maker/controller/CrudController.tpl.php +++ b/src/core/Resources/maker/controller/CrudController.tpl.php @@ -11,11 +11,11 @@ use as Entity; use as Factory; use as Type; use as RepositoryQuery; +use Sensio\Bundle\FrameworkExtraBundle\Configuration\IsGranted use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\Session\Session; use Symfony\Component\Routing\Annotation\Route; -use Symfony\Component\Security\Http\Attribute\IsGranted; class extends CrudController {