1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-07-17 17:08:37 +00:00
wallabag/src/Wallabag/CoreBundle/Controller/StaticController.php

46 lines
1 KiB
PHP
Raw Normal View History

2015-01-23 12:45:24 +01:00
<?php
namespace Wallabag\CoreBundle\Controller;
2015-01-23 12:45:24 +01:00
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class StaticController extends Controller
{
2015-08-07 21:22:43 +02:00
/**
* @Route("/howto", name="howto")
*/
public function howtoAction()
{
return $this->render(
'WallabagCoreBundle:Static:howto.html.twig',
[]
);
}
2015-01-23 12:45:24 +01:00
/**
* @Route("/about", name="about")
*/
public function aboutAction()
{
return $this->render(
'WallabagCoreBundle:Static:about.html.twig',
[
2016-01-21 08:53:09 +01:00
'version' => $this->getParameter('wallabag_core.version'),
'paypal_url' => $this->getParameter('wallabag_core.paypal_url'),
]
2015-01-23 12:45:24 +01:00
);
}
2016-01-09 14:34:49 +01:00
/**
* @Route("/quickstart", name="quickstart")
*/
public function quickstartAction()
{
return $this->render(
'WallabagCoreBundle:Static:quickstart.html.twig',
[]
2016-01-09 14:34:49 +01:00
);
}
2015-01-23 12:45:24 +01:00
}