From 889249804f44136fc608bbc6699f47932825d440 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Mon, 2 Feb 2015 12:54:14 +0100 Subject: disable authentication for the moment --- src/Wallabag/CoreBundle/Controller/StaticController.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/Wallabag/CoreBundle/Controller/StaticController.php') diff --git a/src/Wallabag/CoreBundle/Controller/StaticController.php b/src/Wallabag/CoreBundle/Controller/StaticController.php index 0fd19d65..513a6c11 100644 --- a/src/Wallabag/CoreBundle/Controller/StaticController.php +++ b/src/Wallabag/CoreBundle/Controller/StaticController.php @@ -17,4 +17,13 @@ class StaticController extends Controller array() ); } + + + /** + * @Route("/", name="homepage") + */ + public function apiAction() + { + return $this->redirect($this->generateUrl('nelmio_api_doc_index')); + } } -- cgit v1.2.3