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

@ -16,7 +16,7 @@ rest :
prefix : /api
homepage:
pattern: "/{page}"
path: "/{page}"
defaults: { _controller: WallabagCoreBundle:Entry:showUnread, page : 1 }
requirements:
page: \d+