]> git.immae.eu Git - github/wallabag/wallabag.git/blame - src/Wallabag/CoreBundle/Controller/StaticController.php
php-cs-fixer pass
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Controller / StaticController.php
CommitLineData
163eae0b
NL
1<?php
2
ad4d1caa 3namespace Wallabag\CoreBundle\Controller;
163eae0b
NL
4
5use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
6use Symfony\Bundle\FrameworkBundle\Controller\Controller;
7
8class StaticController extends Controller
9{
b7dd5f82
NL
10 /**
11 * @Route("/howto", name="howto")
12 */
8ce32af6
JB
13 public function howtoAction()
14 {
39f27d63 15 $addonsUrl = $this->container->getParameter('addons_url');
57c608fa 16
8ce32af6
JB
17 return $this->render(
18 'WallabagCoreBundle:Static:howto.html.twig',
39f27d63 19 ['addonsUrl' => $addonsUrl]
8ce32af6
JB
20 );
21 }
22
163eae0b
NL
23 /**
24 * @Route("/about", name="about")
25 */
26 public function aboutAction()
27 {
28 return $this->render(
ad4d1caa 29 'WallabagCoreBundle:Static:about.html.twig',
4094ea47 30 [
63e40f2d
JB
31 'version' => $this->getParameter('wallabag_core.version'),
32 'paypal_url' => $this->getParameter('wallabag_core.paypal_url'),
4094ea47 33 ]
163eae0b
NL
34 );
35 }
5c072d2b
NL
36
37 /**
38 * @Route("/quickstart", name="quickstart")
39 */
40 public function quickstartAction()
41 {
42 return $this->render(
43 'WallabagCoreBundle:Static:quickstart.html.twig',
4094ea47 44 []
5c072d2b
NL
45 );
46 }
163eae0b 47}