X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FController%2FStaticController.php;h=64875a6654c3723de9facd382a7f4552b8eee90d;hb=109d67dbb16478f927c3d6a46ab61ea9994aafae;hp=513a6c114f3ecaa5808aba21640f0f44c521eafc;hpb=889249804f44136fc608bbc6699f47932825d440;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Controller/StaticController.php b/src/Wallabag/CoreBundle/Controller/StaticController.php index 513a6c11..64875a66 100644 --- a/src/Wallabag/CoreBundle/Controller/StaticController.php +++ b/src/Wallabag/CoreBundle/Controller/StaticController.php @@ -8,22 +8,24 @@ use Symfony\Bundle\FrameworkBundle\Controller\Controller; class StaticController extends Controller { /** - * @Route("/about", name="about") + * @Route("/howto", name="howto") */ - 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() + ); } }