aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/config/routing.yml
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2015-11-07 00:16:26 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2015-11-07 00:16:26 +0100
commit5ead137fe6885395ffcc99903263dec235f2c051 (patch)
tree656d9a6cb2cd1f41e454af3b5ff19eb7259f40d9 /app/config/routing.yml
parent78507d28357b132237ad35ecdf0704d1ca56dfaa (diff)
downloadwallabag-5ead137fe6885395ffcc99903263dec235f2c051.tar.gz
wallabag-5ead137fe6885395ffcc99903263dec235f2c051.tar.zst
wallabag-5ead137fe6885395ffcc99903263dec235f2c051.zip
Fix pattern deprecation
Replaced by path
Diffstat (limited to 'app/config/routing.yml')
-rw-r--r--app/config/routing.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/config/routing.yml b/app/config/routing.yml
index af3e32b1..0f7b61fb 100644
--- a/app/config/routing.yml
+++ b/app/config/routing.yml
@@ -1,10 +1,10 @@
1wallabag_api: 1wallabag_api:
2 resource: "@WallabagApiBundle/Resources/config/routing.yml" 2 resource: "@WallabagApiBundle/Resources/config/routing.yml"
3 prefix: / 3 prefix: /
4 4
5app: 5app:
6 resource: @WallabagCoreBundle/Controller/ 6 resource: @WallabagCoreBundle/Controller/
7 type: annotation 7 type: annotation
8 8
9doc-api: 9doc-api:
10 resource: "@NelmioApiDocBundle/Resources/config/routing.yml" 10 resource: "@NelmioApiDocBundle/Resources/config/routing.yml"
@@ -16,10 +16,10 @@ rest :
16 prefix : /api 16 prefix : /api
17 17
18homepage: 18homepage:
19 pattern: "/{page}" 19 path: "/{page}"
20 defaults: { _controller: WallabagCoreBundle:Entry:showUnread, page : 1 } 20 defaults: { _controller: WallabagCoreBundle:Entry:showUnread, page : 1 }
21 requirements: 21 requirements:
22 page: \d+ 22 page: \d+
23 23
24fos_user: 24fos_user:
25 resource: "@FOSUserBundle/Resources/config/routing/all.xml" 25 resource: "@FOSUserBundle/Resources/config/routing/all.xml"