@@ -12,14 +12,11 @@ |
||
12 | 12 | use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
13 | 13 | use Webcook\Cms\CoreBundle\Entity\Page; |
14 | 14 | use Webcook\Cms\CoreBundle\Entity\PageSection; |
15 | -use Webcook\Cms\CoreBundle\Form\Type\PageType; |
|
16 | 15 | use Webcook\Cms\CoreBundle\Form\Type\PageSectionType; |
17 | 16 | use Nelmio\ApiDocBundle\Annotation\ApiDoc; |
18 | 17 | use Webcook\Cms\SecurityBundle\Authorization\Voter\WebcookCmsVoter; |
19 | 18 | use FOS\RestBundle\Controller\Annotations\Get; |
20 | -use FOS\RestBundle\Controller\Annotations\Post; |
|
21 | 19 | use FOS\RestBundle\Controller\Annotations\Put; |
22 | -use FOS\RestBundle\Controller\Annotations\Delete; |
|
23 | 20 | use Doctrine\DBAL\LockMode; |
24 | 21 | |
25 | 22 | /** |