aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/config
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-01-29 16:56:58 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-01-29 16:56:58 +0100
commitf8bf8952541b51481a7463c6efc0b2bc9c1edff1 (patch)
treecb632798f4c6f763ba7c827dcaa885eec4255094 /app/config
parent589dce52c63219d917498d2fdf18e5d7ebe5bf92 (diff)
downloadwallabag-f8bf8952541b51481a7463c6efc0b2bc9c1edff1.tar.gz
wallabag-f8bf8952541b51481a7463c6efc0b2bc9c1edff1.tar.zst
wallabag-f8bf8952541b51481a7463c6efc0b2bc9c1edff1.zip
routing for API, trying to respect #414
Diffstat (limited to 'app/config')
-rw-r--r--app/config/routing.yml13
-rw-r--r--app/config/routing_rest.yml3
2 files changed, 12 insertions, 4 deletions
diff --git a/app/config/routing.yml b/app/config/routing.yml
index 60fcb6f4..8e04a0c8 100644
--- a/app/config/routing.yml
+++ b/app/config/routing.yml
@@ -10,7 +10,12 @@ doc-api:
10 resource: "@NelmioApiDocBundle/Resources/config/routing.yml" 10 resource: "@NelmioApiDocBundle/Resources/config/routing.yml"
11 prefix: /api/doc 11 prefix: /api/doc
12 12
13wallabag_api: 13#wallabag_api:
14 resource: "@WallabagApiBundle/Controller/" 14# resource: "@WallabagApiBundle/Controller/"
15 type: annotation 15# type: annotation
16 prefix: /api \ No newline at end of file 16# prefix: /api
17
18rest :
19 type : rest
20 resource : "routing_rest.yml"
21 prefix : /api \ No newline at end of file
diff --git a/app/config/routing_rest.yml b/app/config/routing_rest.yml
new file mode 100644
index 00000000..82d9e6cc
--- /dev/null
+++ b/app/config/routing_rest.yml
@@ -0,0 +1,3 @@
1Rest_Wallabag:
2 type : rest
3 resource: "@WallabagCoreBundle/Resources/config/routing_rest.yml" \ No newline at end of file