@@ -7,7 +7,6 @@ |
||
| 7 | 7 | use Pagerfanta\Pagerfanta; |
| 8 | 8 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter; |
| 9 | 9 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
| 10 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security; |
|
| 11 | 10 | use Symfony\AppBundle\Entity\User; |
| 12 | 11 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
| 13 | 12 | use Symfony\Component\HttpFoundation\Request; |
@@ -2,16 +2,13 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace AppBundle\Controller; |
| 4 | 4 | |
| 5 | +use AppBundle\Entity\Poll; |
|
| 5 | 6 | use Pagerfanta\Adapter\ArrayAdapter; |
| 6 | -use Pagerfanta\Adapter\DoctrineORMAdapter; |
|
| 7 | 7 | use Pagerfanta\Pagerfanta; |
| 8 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter; |
|
| 9 | 8 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
| 10 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security; |
|
| 11 | 9 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
| 12 | 10 | use Symfony\Component\HttpFoundation\Request; |
| 13 | 11 | use Symfony\Component\HttpFoundation\Response; |
| 14 | -use AppBundle\Entity\Poll; |
|
| 15 | 12 | |
| 16 | 13 | class VoteController extends Controller |
| 17 | 14 | { |