diff options
Diffstat (limited to 'src/Wallabag/CoreBundle')
-rw-r--r-- | src/Wallabag/CoreBundle/Controller/StaticController.php | 9 |
1 files changed, 9 insertions, 0 deletions
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 | |||
17 | array() | 17 | array() |
18 | ); | 18 | ); |
19 | } | 19 | } |
20 | |||
21 | |||
22 | /** | ||
23 | * @Route("/", name="homepage") | ||
24 | */ | ||
25 | public function apiAction() | ||
26 | { | ||
27 | return $this->redirect($this->generateUrl('nelmio_api_doc_index')); | ||
28 | } | ||
20 | } | 29 | } |