wallabag/src/Controller/StaticController.php
2024-02-23 07:42:48 +01:00

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'
);
}
}