aboutsummaryrefslogblamecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Controller/FooterController.php
blob: fd93c436f9608446ab8727c97c0e46b91d262478 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                         
                          






                                                                    
 



                                                   
                                            



             
<?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,
            ]
        );
    }
}