@@ -28,7 +28,6 @@ |
||
28 | 28 | /** |
29 | 29 | * Get single settings for menu content provider. |
30 | 30 | * |
31 | - * @param int $id Id of the desired settings. |
|
32 | 31 | */ |
33 | 32 | public function getMenuSettingsAction($pageId = null, $sectionId = null) |
34 | 33 | { |
@@ -9,16 +9,8 @@ |
||
9 | 9 | namespace Webcook\Cms\CoreBundle\Controller; |
10 | 10 | |
11 | 11 | use Webcook\Cms\CoreBundle\Base\BaseRestController; |
12 | -use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
|
13 | 12 | use Webcook\Cms\CoreBundle\Entity\MenuContentProviderSettings; |
14 | -use Webcook\Cms\CoreBundle\Form\Type\MenuContentProviderSettingsType; |
|
15 | -use Nelmio\ApiDocBundle\Annotation\ApiDoc; |
|
16 | -use Webcook\Cms\SecurityBundle\Authorization\Voter\WebcookCmsVoter; |
|
17 | 13 | use FOS\RestBundle\Controller\Annotations\Get; |
18 | -use FOS\RestBundle\Controller\Annotations\Post; |
|
19 | -use FOS\RestBundle\Controller\Annotations\Put; |
|
20 | -use FOS\RestBundle\Controller\Annotations\Delete; |
|
21 | -use Doctrine\DBAL\LockMode; |
|
22 | 14 | |
23 | 15 | /** |
24 | 16 | * Page controller. |