aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Controller/FooterController.php
blob: fd93c436f9608446ab8727c97c0e46b91d262478 (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
27
<?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,
            ]
        );
    }
}