From 3e5a342f6552fc921b9b7fd3d65d9200cdc1979c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Wed, 28 Jan 2015 18:14:04 +0100 Subject: bundle for API --- app/config/routing.yml | 8 ++++---- app/config/routing_rest.yml | 4 ---- 2 files changed, 4 insertions(+), 8 deletions(-) delete mode 100644 app/config/routing_rest.yml (limited to 'app/config') diff --git a/app/config/routing.yml b/app/config/routing.yml index a57311dc..60fcb6f4 100644 --- a/app/config/routing.yml +++ b/app/config/routing.yml @@ -10,7 +10,7 @@ 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 +wallabag_api: + resource: "@WallabagApiBundle/Controller/" + type: annotation + prefix: /api \ No newline at end of file diff --git a/app/config/routing_rest.yml b/app/config/routing_rest.yml deleted file mode 100644 index ecddbd36..00000000 --- a/app/config/routing_rest.yml +++ /dev/null @@ -1,4 +0,0 @@ -app_api : - type: rest - resource: "WallabagCoreBundle:Api" - name_prefix: api_ \ No newline at end of file -- cgit v1.2.3