X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FController%2FStaticController.php;h=64875a6654c3723de9facd382a7f4552b8eee90d;hb=0aafb8dfcb098ae586dc87f3487b4948f8ae2314;hp=07931f582ae491d77cd89becd0dbe4184c96d74c;hpb=e4788de51ecbf2773a043325965e10eb74b14e8f;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Controller/StaticController.php b/src/Wallabag/CoreBundle/Controller/StaticController.php index 07931f58..64875a66 100644 --- a/src/Wallabag/CoreBundle/Controller/StaticController.php +++ b/src/Wallabag/CoreBundle/Controller/StaticController.php @@ -8,21 +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() + ); } }