fix use of IsGranted is CrudController

This commit is contained in:
Simon Vieille 2024-02-04 16:48:44 +01:00
parent dbd2036fb0
commit 4082bb171a
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -11,11 +11,11 @@ use <?php echo $entity; ?> as Entity;
use <?php echo $factory; ?> as Factory;
use <?php echo $form; ?> as Type;
use <?php echo $repository_query; ?> 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 <?php echo $class_name; ?> extends CrudController
{