X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FController%2FStaticController.php;h=b41302f855ccf131e69b1574749e5c185b07633e;hb=refs%2Fpull%2F2069%2Fhead;hp=0fd19d6529859f6e480b9b8d56af2bfbc1b95c41;hpb=ad4d1caa9e744af57ca58a4e57576533eb682d00;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Controller/StaticController.php b/src/Wallabag/CoreBundle/Controller/StaticController.php index 0fd19d65..b41302f8 100644 --- a/src/Wallabag/CoreBundle/Controller/StaticController.php +++ b/src/Wallabag/CoreBundle/Controller/StaticController.php @@ -7,6 +7,17 @@ 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") */ @@ -14,7 +25,21 @@ class StaticController extends Controller { return $this->render( 'WallabagCoreBundle:Static:about.html.twig', - array() + [ + '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', + [] ); } }