]> 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 09be1b74f87606d0cb0b064665c572db6a41ee16..64875a6654c3723de9facd382a7f4552b8eee90d 100644 (file)
@@ -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()
+        );
     }
 }