Bundle/PageBundle/Controller/PageController.php
public function settingsAction(Request $request, BasePage $page)
    {
        return new JsonResponse(parent::settingsAction($request, $page));
    }
public function settingsAction(Request $request, BasePage $page)
    {
        return new JsonResponse(parent::settingsAction($request, $page));
    }
public function settingsAction ( Request $ request , BasePage $ page ) { return new JsonResponse ( parent :: settingsAction ( $ request , $ page ) ) ; }
Display a form to edit Page settings.

@param Request  $request
@param BasePage $page

@Route("/{id}/settings", name="victoire_core_page_settings")
@Method("GET")
@ParamConverter("page", class="VictoirePageBundle:BasePage")

@return JsonResponse The settings
Display a form to edit Page settings .