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