From e4788de51ecbf2773a043325965e10eb74b14e8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Wed, 28 Jan 2015 17:09:27 +0100 Subject: 1st implementation of wallabag api, yeah --- app/config/routing.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'app/config/routing.yml') diff --git a/app/config/routing.yml b/app/config/routing.yml index 95c224ab..a57311dc 100644 --- a/app/config/routing.yml +++ b/app/config/routing.yml @@ -4,4 +4,13 @@ app: homepage: pattern: / - defaults: { _controller: WallabagCoreBundle:Entry:showUnread } \ No newline at end of file + defaults: { _controller: WallabagCoreBundle:Entry:showUnread } + +doc-api: + resource: "@NelmioApiDocBundle/Resources/config/routing.yml" + prefix: /api/doc + +rest : + type : rest + resource : "routing_rest.yml" + prefix : /api \ No newline at end of file -- cgit v1.2.3