forked from wallabag/wallabag
Merge remote-tracking branch 'origin/master' into 2.1
This commit is contained in:
@ -357,7 +357,7 @@ class EntryController extends Controller
|
||||
}
|
||||
|
||||
/**
|
||||
* Changes favorite status for an entry.
|
||||
* Changes starred status for an entry.
|
||||
*
|
||||
* @param Request $request
|
||||
* @param Entry $entry
|
||||
|
||||
27
src/Wallabag/CoreBundle/Controller/FooterController.php
Normal file
27
src/Wallabag/CoreBundle/Controller/FooterController.php
Normal file
@ -0,0 +1,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,
|
||||
]
|
||||
);
|
||||
}
|
||||
}
|
||||
@ -12,9 +12,11 @@ class StaticController extends Controller
|
||||
*/
|
||||
public function howtoAction()
|
||||
{
|
||||
$addonsUrl = $this->container->getParameter('addons_url');
|
||||
|
||||
return $this->render(
|
||||
'WallabagCoreBundle:Static:howto.html.twig',
|
||||
[]
|
||||
['addonsUrl' => $addonsUrl]
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user