aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Controller/FooterController.php
blob: de809332fc6aa9b4d3a9ec5da84002f92950cd3e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php

namespace Wallabag\CoreBundle\Controller;

use Symfony\Bundle\FrameworkBundle\Controller\Controller;

class FooterController extends Controller
{
    /**
     * Display the footer
     *
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function indexAction()
    {
        $addonsUrl = $this->container->getParameter('addons_url');
        $socialsUrl = $this->container->getParameter('socials_url');
        return $this->render(
            'WallabagCoreBundle::footer.html.twig',
            [
                'addonsUrl' => $addonsUrl,
                'socialsUrl' => $socialsUrl
            ]
        );
    }
}