X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=src%2FWallabag%2FCoreBundle%2FController%2FStaticController.php;h=07931f582ae491d77cd89becd0dbe4184c96d74c;hb=905ae369bd0238cc24c3c4e0ac60d578d30b54bb;hp=0fd19d6529859f6e480b9b8d56af2bfbc1b95c41;hpb=ad4d1caa9e744af57ca58a4e57576533eb682d00;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Controller/StaticController.php b/src/Wallabag/CoreBundle/Controller/StaticController.php index 0fd19d65..07931f58 100644 --- a/src/Wallabag/CoreBundle/Controller/StaticController.php +++ b/src/Wallabag/CoreBundle/Controller/StaticController.php @@ -17,4 +17,12 @@ class StaticController extends Controller array() ); } + + /** + * @Route("/", name="homepage") + */ + public function apiAction() + { + return $this->redirect($this->generateUrl('nelmio_api_doc_index')); + } }