]> git.immae.eu Git - github/wallabag/wallabag.git/blob - src/Wallabag/CoreBundle/Controller/FooterController.php
Handling socials links into a config file
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Controller / FooterController.php
1 <?php
2
3 namespace Wallabag\CoreBundle\Controller;
4
5 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
6
7 class FooterController extends Controller
8 {
9 /**
10 * Display the footer
11 *
12 * @return \Symfony\Component\HttpFoundation\Response
13 */
14 public function indexAction()
15 {
16 $addonsUrl = $this->container->getParameter('addons_url');
17 $socialsUrl = $this->container->getParameter('socials_url');
18 return $this->render(
19 'WallabagCoreBundle::footer.html.twig',
20 [
21 'addonsUrl' => $addonsUrl,
22 'socialsUrl' => $socialsUrl
23 ]
24 );
25 }
26 }