X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FController%2FStaticController.php;h=318af303c361bda37acf27e06176560dadc64ced;hb=f808b01692a835673f328d7221ba8c212caa9b61;hp=64875a6654c3723de9facd382a7f4552b8eee90d;hpb=bccb5bba75e3f2bf8e89fef6b939500757c3d2b1;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Controller/StaticController.php b/src/Wallabag/CoreBundle/Controller/StaticController.php index 64875a66..318af303 100644 --- a/src/Wallabag/CoreBundle/Controller/StaticController.php +++ b/src/Wallabag/CoreBundle/Controller/StaticController.php @@ -12,9 +12,13 @@ class StaticController extends Controller */ public function howtoAction() { + $addonsUrl = $this->container->getParameter('addons_url'); + return $this->render( - 'WallabagCoreBundle:Static:howto.html.twig', - array() + '@WallabagCore/themes/common/Static/howto.html.twig', + [ + 'addonsUrl' => $addonsUrl, + ] ); } @@ -24,8 +28,21 @@ class StaticController extends Controller public function aboutAction() { return $this->render( - 'WallabagCoreBundle:Static:about.html.twig', - array() + '@WallabagCore/themes/common/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/themes/common/Static/quickstart.html.twig' ); } }