diff options
author | Nicolas Lœuillet <nicolas@loeuillet.org> | 2015-11-07 13:39:30 +0100 |
---|---|---|
committer | Nicolas Lœuillet <nicolas@loeuillet.org> | 2015-11-07 13:39:30 +0100 |
commit | 4529d0f4b6b20cbbd1ccb5339a753aff7d35552b (patch) | |
tree | 84724eea1cef0c6d44afbb850d939367921a230c /app | |
parent | 3d9ccf9390f35e73428ebf42258253c6808f1590 (diff) | |
parent | 164d260c498a74b6b97a17dd63f9dd6088702ebc (diff) | |
download | wallabag-4529d0f4b6b20cbbd1ccb5339a753aff7d35552b.tar.gz wallabag-4529d0f4b6b20cbbd1ccb5339a753aff7d35552b.tar.zst wallabag-4529d0f4b6b20cbbd1ccb5339a753aff7d35552b.zip |
Merge pull request #1510 from wallabag/v2-sf3
v2 – Fix some deprecated for Symfony3
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" |