]> git.immae.eu Git - github/wallabag/wallabag.git/blame - src/Wallabag/CoreBundle/Controller/StaticController.php
Merge pull request #3516 from wallabag/delete-id
[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 17 return $this->render(
2ff9991a 18 '@WallabagCore/themes/common/Static/howto.html.twig',
f808b016
JB
19 [
20 'addonsUrl' => $addonsUrl,
21 ]
8ce32af6
JB
22 );
23 }
24
163eae0b
NL
25 /**
26 * @Route("/about", name="about")
27 */
28 public function aboutAction()
29 {
30 return $this->render(
2ff9991a 31 '@WallabagCore/themes/common/Static/about.html.twig',
4094ea47 32 [
63e40f2d
JB
33 'version' => $this->getParameter('wallabag_core.version'),
34 'paypal_url' => $this->getParameter('wallabag_core.paypal_url'),
4094ea47 35 ]
163eae0b
NL
36 );
37 }
5c072d2b
NL
38
39 /**
40 * @Route("/quickstart", name="quickstart")
41 */
42 public function quickstartAction()
43 {
44 return $this->render(
f808b016 45 '@WallabagCore/themes/common/Static/quickstart.html.twig'
5c072d2b
NL
46 );
47 }
163eae0b 48}