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 From bc4564a709ccae949999af77aa456287a72f1591 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Fri, 28 Oct 2016 15:24:58 +0200 Subject: Removed useless route --- src/Wallabag/ApiBundle/Resources/config/routing_rest.yml | 5 ----- 1 file changed, 5 deletions(-) (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 901cf449..c1af9e02 100644 --- a/src/Wallabag/ApiBundle/Resources/config/routing_rest.yml +++ b/src/Wallabag/ApiBundle/Resources/config/routing_rest.yml @@ -1,8 +1,3 @@ -api: - type: rest - resource: "WallabagApiBundle:WallabagRest" - name_prefix: api_ - entries: type: rest resource: "WallabagApiBundle:EntryRest" -- cgit v1.2.3