public function footerAction($locale)
    {
        $this->get('request_stack')->getCurrentRequest()->setLocale($locale);

        return $this
            ->render('@EkynaCms/Cms/Fragment/footer.html.twig')
            ->setSharedMaxAge(3600);
    }
public function footerAction($locale)
    {
        $this->get('request_stack')->getCurrentRequest()->setLocale($locale);

        return $this
            ->render('@EkynaCms/Cms/Fragment/footer.html.twig')
            ->setSharedMaxAge(3600);
    }
public function footerAction ( $ locale ) { $ this -> get ( 'request_stack' ) -> getCurrentRequest ( ) -> setLocale ( $ locale ) ; return $ this -> render ( '@EkynaCms/Cms/Fragment/footer.html.twig' ) -> setSharedMaxAge ( 3600 ) ; }
Renders the footer fragment.

@param string $locale

@return \Symfony\Component\HttpFoundation\Response
Renders the footer fragment .