diff --git a/Controller/ReportController.php b/Controller/ReportController.php index 2c9a7f4bd..fe0cb9767 100644 --- a/Controller/ReportController.php +++ b/Controller/ReportController.php @@ -30,7 +30,6 @@ use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\Form\Extension\Core\Type\ChoiceType; use Symfony\Component\Security\Core\Role\Role; use Symfony\Component\Form\Extension\Core\Type\FormType; - use Chill\PersonBundle\Entity\Person; use Chill\ReportBundle\Entity\Report; use Chill\ReportBundle\Form\ReportType; diff --git a/config/services/controller.yaml b/config/services/controller.yaml index 42c2c1268..0eb58e45a 100644 --- a/config/services/controller.yaml +++ b/config/services/controller.yaml @@ -3,4 +3,5 @@ services: arguments: $eventDispatcher: '@Symfony\Component\EventDispatcher\EventDispatcherInterface' $authorizationHelper: '@Chill\MainBundle\Security\Authorization\AuthorizationHelper' + $paginator: '@Chill\MainBundle\Pagination\PaginatorFactory' tags: ['controller.service_arguments']