aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/config/routing.yml
diff options
context:
space:
mode:
authorFrancois Gravelaine <francois@obtao.com>2015-07-27 23:20:32 +0200
committerFrancois Gravelaine <francois@obtao.com>2015-07-28 23:23:49 +0200
commit9fb6ac830fa669beef1dd11070421262c073192c (patch)
treeb0b1da23086cba171d134946092f43cd31cd1e62 /app/config/routing.yml
parent9b9b05008a96a45bbf6da4c0c1c1b1244b83c6af (diff)
downloadwallabag-9fb6ac830fa669beef1dd11070421262c073192c.tar.gz
wallabag-9fb6ac830fa669beef1dd11070421262c073192c.tar.zst
wallabag-9fb6ac830fa669beef1dd11070421262c073192c.zip
Adds pagerfanta paginator everywhere, modifies article routing. Change API for is_starred and is_archived
Diffstat (limited to 'app/config/routing.yml')
-rw-r--r--app/config/routing.yml12
1 files changed, 8 insertions, 4 deletions
diff --git a/app/config/routing.yml b/app/config/routing.yml
index 8710e97f..e8bf08a5 100644
--- a/app/config/routing.yml
+++ b/app/config/routing.yml
@@ -6,10 +6,6 @@ app:
6 resource: @WallabagCoreBundle/Controller/ 6 resource: @WallabagCoreBundle/Controller/
7 type: annotation 7 type: annotation
8 8
9homepage:
10 pattern: /
11 defaults: { _controller: WallabagCoreBundle:Entry:showUnread }
12
13doc-api: 9doc-api:
14 resource: "@NelmioApiDocBundle/Resources/config/routing.yml" 10 resource: "@NelmioApiDocBundle/Resources/config/routing.yml"
15 prefix: /api/doc 11 prefix: /api/doc
@@ -17,8 +13,10 @@ doc-api:
17login: 13login:
18 pattern: /login 14 pattern: /login
19 defaults: { _controller: WallabagCoreBundle:Security:login } 15 defaults: { _controller: WallabagCoreBundle:Security:login }
16
20login_check: 17login_check:
21 pattern: /login_check 18 pattern: /login_check
19
22logout: 20logout:
23 path: /logout 21 path: /logout
24 22
@@ -26,3 +24,9 @@ rest :
26 type : rest 24 type : rest
27 resource : "routing_rest.yml" 25 resource : "routing_rest.yml"
28 prefix : /api 26 prefix : /api
27
28homepage:
29 pattern: "/{page}"
30 defaults: { _controller: WallabagCoreBundle:Entry:showUnread, page : 1 }
31 requirements:
32 page: \d+