X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=src%2FWallabag%2FCoreBundle%2FController%2FStaticController.php;h=5b7bd56edc87079bafe43c39e5d27699571d518c;hb=278b221e6545c5990e9d79a4c6bb4491b22a7a85;hp=3b844b44c500054cb47bd1412d9c7215399941d2;hpb=8ce32af61229eec8f4cc34b207273d47f60adc48;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Controller/StaticController.php b/src/Wallabag/CoreBundle/Controller/StaticController.php index 3b844b44..5b7bd56e 100644 --- a/src/Wallabag/CoreBundle/Controller/StaticController.php +++ b/src/Wallabag/CoreBundle/Controller/StaticController.php @@ -25,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() + ); } }