diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2015-11-07 00:16:26 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2015-11-07 00:16:26 +0100 |
commit | 5ead137fe6885395ffcc99903263dec235f2c051 (patch) | |
tree | 656d9a6cb2cd1f41e454af3b5ff19eb7259f40d9 /app | |
parent | 78507d28357b132237ad35ecdf0704d1ca56dfaa (diff) | |
download | wallabag-5ead137fe6885395ffcc99903263dec235f2c051.tar.gz wallabag-5ead137fe6885395ffcc99903263dec235f2c051.tar.zst wallabag-5ead137fe6885395ffcc99903263dec235f2c051.zip |
Fix pattern deprecation
Replaced by path
Diffstat (limited to 'app')
-rw-r--r-- | app/config/routing.yml | 10 |
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 @@ | |||
1 | wallabag_api: | 1 | wallabag_api: |
2 | resource: "@WallabagApiBundle/Resources/config/routing.yml" | 2 | resource: "@WallabagApiBundle/Resources/config/routing.yml" |
3 | prefix: / | 3 | prefix: / |
4 | 4 | ||
5 | app: | 5 | app: |
6 | resource: @WallabagCoreBundle/Controller/ | 6 | resource: @WallabagCoreBundle/Controller/ |
7 | type: annotation | 7 | type: annotation |
8 | 8 | ||
9 | doc-api: | 9 | doc-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 | ||
18 | homepage: | 18 | homepage: |
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 | ||
24 | fos_user: | 24 | fos_user: |
25 | resource: "@FOSUserBundle/Resources/config/routing/all.xml" | 25 | resource: "@FOSUserBundle/Resources/config/routing/all.xml" |