mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-16 18:01:38 +00:00
Move source files directly under src/ directory
This commit is contained in:
parent
804261bc26
commit
a37b385c23
190 changed files with 19 additions and 21 deletions
47
src/Controller/StaticController.php
Normal file
47
src/Controller/StaticController.php
Normal file
|
@ -0,0 +1,47 @@
|
|||
<?php
|
||||
|
||||
namespace Wallabag\CoreBundle\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_core.version'),
|
||||
'paypal_url' => $this->getParameter('wallabag_core.paypal_url'),
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @Route("/quickstart", name="quickstart")
|
||||
*/
|
||||
public function quickstartAction()
|
||||
{
|
||||
return $this->render(
|
||||
'Static/quickstart.html.twig'
|
||||
);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue