Bundle/PageBundle/Controller/BasePageController.php
public function showAction(Request $request, $url = '')
    {
        $response = $this->get('victoire_page.page_helper')->renderPageByUrl(
            $request->getUri(),
            $url,
            $request->getLocale(),
            $request->isXmlHttpRequest() ? $request->query->get('modalLayout', null) : null
        );

        return $response;
    }
public function showAction(Request $request, $url = '')
    {
        $response = $this->get('victoire_page.page_helper')->renderPageByUrl(
            $request->getUri(),
            $url,
            $request->getLocale(),
            $request->isXmlHttpRequest() ? $request->query->get('modalLayout', null) : null
        );

        return $response;
    }
public function showAction ( Request $ request , $ url = '' ) { $ response = $ this -> get ( 'victoire_page.page_helper' ) -> renderPageByUrl ( $ request -> getUri ( ) , $ url , $ request -> getLocale ( ) , $ request -> isXmlHttpRequest ( ) ? $ request -> query -> get ( 'modalLayout' , null ) : null ) ; return $ response ; }
Find Page from url and render it.
Route for this action is defined in RouteLoader.

@param Request $request
@param string  $url

@return mixed
Find Page from url and render it . Route for this action is defined in RouteLoader .