]>
Commit | Line | Data |
---|---|---|
163eae0b NL |
1 | <?php |
2 | ||
ad4d1caa | 3 | namespace Wallabag\CoreBundle\Controller; |
163eae0b NL |
4 | |
5 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; | |
6 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; | |
7 | ||
8 | class 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', |
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( | |
2ff9991a | 29 | '@WallabagCore/themes/common/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( | |
2ff9991a | 43 | '@WallabagCore/themes/common/Static/quickstart.html.twig', |
4094ea47 | 44 | [] |
5c072d2b NL |
45 | ); |
46 | } | |
163eae0b | 47 | } |