From 900c844861eac95fc41afbbbc121584b8f9e6c32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Fri, 28 Oct 2016 14:46:30 +0200 Subject: Exploded WallabagRestController into many controllers Fix #2503 --- src/Wallabag/ApiBundle/Resources/config/routing_rest.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/Wallabag/ApiBundle/Resources/config') diff --git a/src/Wallabag/ApiBundle/Resources/config/routing_rest.yml b/src/Wallabag/ApiBundle/Resources/config/routing_rest.yml index 5f43f971..901cf449 100644 --- a/src/Wallabag/ApiBundle/Resources/config/routing_rest.yml +++ b/src/Wallabag/ApiBundle/Resources/config/routing_rest.yml @@ -1,4 +1,14 @@ -entries: +api: type: rest resource: "WallabagApiBundle:WallabagRest" name_prefix: api_ + +entries: + type: rest + resource: "WallabagApiBundle:EntryRest" + name_prefix: api_ + +tags: + type: rest + resource: "WallabagApiBundle:TagRest" + name_prefix: api_ -- cgit v1.2.3