fix use of IsGranted is CrudController
This commit is contained in:
parent
dbd2036fb0
commit
4082bb171a
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue