]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Controller/StaticController.php
1st implementation of wallabag api, yeah
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Controller / StaticController.php
index 0fd19d6529859f6e480b9b8d56af2bfbc1b95c41..07931f582ae491d77cd89becd0dbe4184c96d74c 100644 (file)
@@ -17,4 +17,12 @@ class StaticController extends Controller
             array()
         );
     }
+
+    /**
+     * @Route("/", name="homepage")
+     */
+    public function apiAction()
+    {
+        return $this->redirect($this->generateUrl('nelmio_api_doc_index'));
+    }
 }