mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-15 13:31:13 +00:00
47 lines
1,002 B
PHP
47 lines
1,002 B
PHP
<?php
|
|
|
|
namespace Wallabag\Controller;
|
|
|
|
use Symfony\Component\Routing\Annotation\Route;
|
|
|
|
class StaticController extends AbstractController
|
|
{
|
|
/**
|
|
* @Route("/howto", name="howto")
|
|
*/
|
|
public function howtoAction()
|
|
{
|
|
$addonsUrl = $this->getParameter('addons_url');
|
|
|
|
return $this->render(
|
|
'Static/howto.html.twig',
|
|
[
|
|
'addonsUrl' => $addonsUrl,
|
|
]
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @Route("/about", name="about")
|
|
*/
|
|
public function aboutAction()
|
|
{
|
|
return $this->render(
|
|
'Static/about.html.twig',
|
|
[
|
|
'version' => $this->getParameter('wallabag.version'),
|
|
'paypal_url' => $this->getParameter('wallabag.paypal_url'),
|
|
]
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @Route("/quickstart", name="quickstart")
|
|
*/
|
|
public function quickstartAction()
|
|
{
|
|
return $this->render(
|
|
'Static/quickstart.html.twig'
|
|
);
|
|
}
|
|
}
|