wallabag/src/Wallabag/CoreBundle/Controller/StaticController.php
Jeremy Benoist 1d3935fbd3
Remove LiipThemeBundle
As baggy theme was removed and material is the only remaining theme, we don't need a theme switched anymore.
So:
- move all `*.twig` files from the material theme folder to the root
- remove useless translations
2022-11-23 14:52:06 +01:00

49 lines
1.1 KiB
PHP

<?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/Static/howto.html.twig',
[
'addonsUrl' => $addonsUrl,
]
);
}
/**
* @Route("/about", name="about")
*/
public function aboutAction()
{
return $this->render(
'@WallabagCore/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/Static/quickstart.html.twig'
);
}
}