diff --git a/Controller/DocumentCategoryController.php b/Controller/DocumentCategoryController.php index 2a4225eac..abbfbd1c0 100644 --- a/Controller/DocumentCategoryController.php +++ b/Controller/DocumentCategoryController.php @@ -5,15 +5,18 @@ namespace Chill\DocStoreBundle\Controller; use Chill\DocStoreBundle\Entity\DocumentCategory; use Chill\DocStoreBundle\Entity\PersonDocument; use Chill\DocStoreBundle\Form\DocumentCategoryType; -use Symfony\Bundle\FrameworkBundle\Controller\Controller; +use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Routing\Annotation\Route; /** + * Class DocumentCategoryController + * + * @package Chill\DocStoreBundle\Controller * @Route("/{_locale}/admin/document/category") */ -class DocumentCategoryController extends Controller +class DocumentCategoryController extends AbstractController { /** * @Route("/", name="document_category_index", methods="GET") diff --git a/Controller/DocumentPersonController.php b/Controller/DocumentPersonController.php index 350069ed9..57ef81cbb 100644 --- a/Controller/DocumentPersonController.php +++ b/Controller/DocumentPersonController.php @@ -7,7 +7,7 @@ use Chill\DocStoreBundle\Form\PersonDocumentType; use Chill\DocStoreBundle\Repository\DocumentRepository; use Chill\MainBundle\Security\Authorization\AuthorizationHelper; use Chill\PersonBundle\Privacy\PrivacyEvent; -use Symfony\Bundle\FrameworkBundle\Controller\Controller; +use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; @@ -19,11 +19,14 @@ use Chill\DocStoreBundle\Security\Authorization\PersonDocumentVoter; use Symfony\Component\Translation\TranslatorInterface; /** + * Class DocumentPersonController + * + * @package Chill\DocStoreBundle\Controller * @Route("/{_locale}/person/{person}/document") * * TODO faire un controller abstrait ? */ -class DocumentPersonController extends Controller +class DocumentPersonController extends AbstractController { /**