X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=src%2FWallabag%2FCoreBundle%2FController%2FStaticController.php;h=64875a6654c3723de9facd382a7f4552b8eee90d;hb=0aafb8dfcb098ae586dc87f3487b4948f8ae2314;hp=09be1b74f87606d0cb0b064665c572db6a41ee16;hpb=0e654f62730e233f586a4efee0d654311a498b9e;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Controller/StaticController.php b/src/Wallabag/CoreBundle/Controller/StaticController.php index 09be1b74..64875a66 100644 --- a/src/Wallabag/CoreBundle/Controller/StaticController.php +++ b/src/Wallabag/CoreBundle/Controller/StaticController.php @@ -10,29 +10,22 @@ class StaticController extends Controller /** * @Route("/howto", name="howto") */ - public function howtoAction() - { - return $this->render( - 'WallabagCoreBundle:Static:howto.html.twig', - array() - ); - } - /** - * @Route("/about", name="about") - */ - public function aboutAction() + public function howtoAction() { return $this->render( - 'WallabagCoreBundle:Static:about.html.twig', + 'WallabagCoreBundle:Static:howto.html.twig', array() ); } /** - * @Route("/", name="homepage") + * @Route("/about", name="about") */ - public function apiAction() + public function aboutAction() { - return $this->redirect($this->generateUrl('nelmio_api_doc_index')); + return $this->render( + 'WallabagCoreBundle:Static:about.html.twig', + array() + ); } }