aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Wallabag/CoreBundle/Controller/FooterController.php5
-rw-r--r--src/Wallabag/CoreBundle/Controller/StaticController.php1
2 files changed, 4 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/FooterController.php b/src/Wallabag/CoreBundle/Controller/FooterController.php
index de809332..fd93c436 100644
--- a/src/Wallabag/CoreBundle/Controller/FooterController.php
+++ b/src/Wallabag/CoreBundle/Controller/FooterController.php
@@ -7,7 +7,7 @@ use Symfony\Bundle\FrameworkBundle\Controller\Controller;
7class FooterController extends Controller 7class FooterController extends Controller
8{ 8{
9 /** 9 /**
10 * Display the footer 10 * Display the footer.
11 * 11 *
12 * @return \Symfony\Component\HttpFoundation\Response 12 * @return \Symfony\Component\HttpFoundation\Response
13 */ 13 */
@@ -15,11 +15,12 @@ class FooterController extends Controller
15 { 15 {
16 $addonsUrl = $this->container->getParameter('addons_url'); 16 $addonsUrl = $this->container->getParameter('addons_url');
17 $socialsUrl = $this->container->getParameter('socials_url'); 17 $socialsUrl = $this->container->getParameter('socials_url');
18
18 return $this->render( 19 return $this->render(
19 'WallabagCoreBundle::footer.html.twig', 20 'WallabagCoreBundle::footer.html.twig',
20 [ 21 [
21 'addonsUrl' => $addonsUrl, 22 'addonsUrl' => $addonsUrl,
22 'socialsUrl' => $socialsUrl 23 'socialsUrl' => $socialsUrl,
23 ] 24 ]
24 ); 25 );
25 } 26 }
diff --git a/src/Wallabag/CoreBundle/Controller/StaticController.php b/src/Wallabag/CoreBundle/Controller/StaticController.php
index f5fcabd8..2a57f06f 100644
--- a/src/Wallabag/CoreBundle/Controller/StaticController.php
+++ b/src/Wallabag/CoreBundle/Controller/StaticController.php
@@ -13,6 +13,7 @@ class StaticController extends Controller
13 public function howtoAction() 13 public function howtoAction()
14 { 14 {
15 $addonsUrl = $this->container->getParameter('addons_url'); 15 $addonsUrl = $this->container->getParameter('addons_url');
16
16 return $this->render( 17 return $this->render(
17 'WallabagCoreBundle:Static:howto.html.twig', 18 'WallabagCoreBundle:Static:howto.html.twig',
18 ['addonsUrl' => $addonsUrl] 19 ['addonsUrl' => $addonsUrl]