aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Controller
diff options
context:
space:
mode:
authorSimounet <contact@simounet.net>2016-07-20 23:08:04 +0200
committerSimounet <contact@simounet.net>2016-07-20 23:08:04 +0200
commit57c608fa94cdc148f5fc48b7c1e984bbf507e34b (patch)
tree54a348dc555df5e3895e760de4c200a8e1f328fe /src/Wallabag/CoreBundle/Controller
parent40288b7166d35ce8433c9720a5278356dac617aa (diff)
downloadwallabag-57c608fa94cdc148f5fc48b7c1e984bbf507e34b.tar.gz
wallabag-57c608fa94cdc148f5fc48b7c1e984bbf507e34b.tar.zst
wallabag-57c608fa94cdc148f5fc48b7c1e984bbf507e34b.zip
php-cs-fixer pass
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller')
-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]