aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/config/routing.yml
diff options
context:
space:
mode:
authorNicolas Lœuillet <nicolas@loeuillet.org>2015-11-07 13:39:30 +0100
committerNicolas Lœuillet <nicolas@loeuillet.org>2015-11-07 13:39:30 +0100
commit4529d0f4b6b20cbbd1ccb5339a753aff7d35552b (patch)
tree84724eea1cef0c6d44afbb850d939367921a230c /app/config/routing.yml
parent3d9ccf9390f35e73428ebf42258253c6808f1590 (diff)
parent164d260c498a74b6b97a17dd63f9dd6088702ebc (diff)
downloadwallabag-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/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"