]> git.immae.eu Git - github/wallabag/wallabag.git/blob - src/Wallabag/CoreBundle/Controller/StaticController.php
Update messages.pl.yml
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Controller / StaticController.php
1 <?php
2
3 namespace Wallabag\CoreBundle\Controller;
4
5 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
6 use Symfony\Component\Routing\Annotation\Route;
7
8 class StaticController extends Controller
9 {
10 /**
11 * @Route("/howto", name="howto")
12 */
13 public function howtoAction()
14 {
15 $addonsUrl = $this->container->getParameter('addons_url');
16
17 return $this->render(
18 '@WallabagCore/themes/common/Static/howto.html.twig',
19 [
20 'addonsUrl' => $addonsUrl,
21 ]
22 );
23 }
24
25 /**
26 * @Route("/about", name="about")
27 */
28 public function aboutAction()
29 {
30 return $this->render(
31 '@WallabagCore/themes/common/Static/about.html.twig',
32 [
33 'version' => $this->getParameter('wallabag_core.version'),
34 'paypal_url' => $this->getParameter('wallabag_core.paypal_url'),
35 ]
36 );
37 }
38
39 /**
40 * @Route("/quickstart", name="quickstart")
41 */
42 public function quickstartAction()
43 {
44 return $this->render(
45 '@WallabagCore/themes/common/Static/quickstart.html.twig'
46 );
47 }
48 }