]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Controller/StaticController.php
Merge pull request #1561 from FabienM/docker-compose
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Controller / StaticController.php
index 07931f582ae491d77cd89becd0dbe4184c96d74c..64875a6654c3723de9facd382a7f4552b8eee90d 100644 (file)
@@ -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()
+        );
     }
 }