X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=app%2Fconfig%2Frouting.yml;h=0f7b61fb3427991b7fad329357ae82688a57dc3f;hb=8c3c77c1bd5c3763c127bfea52e908e77dc751b9;hp=b3c5291a8745400bc137fbcb2554f61fe85439f5;hpb=ad4d1caa9e744af57ca58a4e57576533eb682d00;p=github%2Fwallabag%2Fwallabag.git diff --git a/app/config/routing.yml b/app/config/routing.yml index b3c5291a..0f7b61fb 100644 --- a/app/config/routing.yml +++ b/app/config/routing.yml @@ -1,7 +1,28 @@ +wallabag_api: + resource: "@WallabagApiBundle/Resources/config/routing.yml" + prefix: / + app: resource: @WallabagCoreBundle/Controller/ - type: annotation + type: annotation + +doc-api: + resource: "@NelmioApiDocBundle/Resources/config/routing.yml" + prefix: /api/doc + +rest : + type : rest + resource : "routing_rest.yml" + prefix : /api homepage: - pattern: / - defaults: { _controller: CoreBundle:Entry:showUnread } \ No newline at end of file + path: "/{page}" + defaults: { _controller: WallabagCoreBundle:Entry:showUnread, page : 1 } + requirements: + page: \d+ + +fos_user: + resource: "@FOSUserBundle/Resources/config/routing/all.xml" + +fos_oauth_server_token: + resource: "@FOSOAuthServerBundle/Resources/config/routing/token.xml"