Fix pattern deprecation

Replaced by path
This commit is contained in:
Jeremy Benoist 2015-11-07 00:16:26 +01:00
parent 78507d2835
commit 5ead137fe6

View file

@ -1,10 +1,10 @@
wallabag_api:
resource: "@WallabagApiBundle/Resources/config/routing.yml"
prefix: /
prefix: /
app:
resource: @WallabagCoreBundle/Controller/
type: annotation
type: annotation
doc-api:
resource: "@NelmioApiDocBundle/Resources/config/routing.yml"
@ -16,10 +16,10 @@ rest :
prefix : /api
homepage:
pattern: "/{page}"
defaults: { _controller: WallabagCoreBundle:Entry:showUnread, page : 1 }
path: "/{page}"
defaults: { _controller: WallabagCoreBundle:Entry:showUnread, page : 1 }
requirements:
page: \d+
page: \d+
fos_user:
resource: "@FOSUserBundle/Resources/config/routing/all.xml"