mirror of
https://github.com/wallabag/wallabag.git
synced 2024-06-02 07:09:51 +00:00
46 lines
1 KiB
PHP
46 lines
1 KiB
PHP
<?php
|
|
|
|
namespace Wallabag\CoreBundle\Controller;
|
|
|
|
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
|
|
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
|
|
|
|
class StaticController extends Controller
|
|
{
|
|
/**
|
|
* @Route("/howto", name="howto")
|
|
*/
|
|
public function howtoAction()
|
|
{
|
|
return $this->render(
|
|
'WallabagCoreBundle:Static:howto.html.twig',
|
|
[]
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @Route("/about", name="about")
|
|
*/
|
|
public function aboutAction()
|
|
{
|
|
return $this->render(
|
|
'WallabagCoreBundle: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(
|
|
'WallabagCoreBundle:Static:quickstart.html.twig',
|
|
[]
|
|
);
|
|
}
|
|
}
|