]> git.immae.eu Git - github/wallabag/wallabag.git/blame - src/Wallabag/CoreBundle/Controller/StaticController.php
Convert array + phpDoc
[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 {
15 return $this->render(
16 'WallabagCoreBundle:Static:howto.html.twig',
4094ea47 17 []
8ce32af6
JB
18 );
19 }
20
163eae0b
NL
21 /**
22 * @Route("/about", name="about")
23 */
24 public function aboutAction()
25 {
26 return $this->render(
ad4d1caa 27 'WallabagCoreBundle:Static:about.html.twig',
4094ea47 28 [
63e40f2d
JB
29 'version' => $this->getParameter('wallabag_core.version'),
30 'paypal_url' => $this->getParameter('wallabag_core.paypal_url'),
4094ea47 31 ]
163eae0b
NL
32 );
33 }
5c072d2b
NL
34
35 /**
36 * @Route("/quickstart", name="quickstart")
37 */
38 public function quickstartAction()
39 {
40 return $this->render(
41 'WallabagCoreBundle:Static:quickstart.html.twig',
4094ea47 42 []
5c072d2b
NL
43 );
44 }
163eae0b 45}