X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=app%2Fconfig%2Frouting.yml;h=0f7b61fb3427991b7fad329357ae82688a57dc3f;hb=5ead137fe6885395ffcc99903263dec235f2c051;hp=af3e32b180178821a0451182690c5f735af3d717;hpb=78507d28357b132237ad35ecdf0704d1ca56dfaa;p=github%2Fwallabag%2Fwallabag.git 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 @@ 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"