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