X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=src%2FWallabag%2FCoreBundle%2FController%2FStaticController.php;h=5b7bd56edc87079bafe43c39e5d27699571d518c;hb=7eccbda99f16dc39ee01a0c81ab88293e9b268fd;hp=09be1b74f87606d0cb0b064665c572db6a41ee16;hpb=b7dd5f824c0d533c2a902ae41b70ac740ecd2fec;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Controller/StaticController.php b/src/Wallabag/CoreBundle/Controller/StaticController.php index 09be1b74..5b7bd56e 100644 --- a/src/Wallabag/CoreBundle/Controller/StaticController.php +++ b/src/Wallabag/CoreBundle/Controller/StaticController.php @@ -10,13 +10,14 @@ class StaticController extends Controller /** * @Route("/howto", name="howto") */ - public function howtoAction() - { - return $this->render( - 'WallabagCoreBundle:Static:howto.html.twig', - array() - ); - } + public function howtoAction() + { + return $this->render( + 'WallabagCoreBundle:Static:howto.html.twig', + array() + ); + } + /** * @Route("/about", name="about") */ @@ -24,15 +25,21 @@ class StaticController extends Controller { return $this->render( 'WallabagCoreBundle:Static:about.html.twig', - array() + array( + 'version' => $this->getParameter('wallabag_core.version'), + 'paypal_url' => $this->getParameter('wallabag_core.paypal_url'), + ) ); } /** - * @Route("/", name="homepage") + * @Route("/quickstart", name="quickstart") */ - public function apiAction() + public function quickstartAction() { - return $this->redirect($this->generateUrl('nelmio_api_doc_index')); + return $this->render( + 'WallabagCoreBundle:Static:quickstart.html.twig', + array() + ); } }