X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=app%2Fconfig%2Frouting.yml;h=af3e32b180178821a0451182690c5f735af3d717;hb=57cf6fd76cb5c4f58372eb994cbd17f385434c7d;hp=d0ece8e303c10e6087932162fa1a04b2d9d4b1ff;hpb=b84a80559a1167b5500fbc5eb4965d3b08b371ef;p=github%2Fwallabag%2Fwallabag.git diff --git a/app/config/routing.yml b/app/config/routing.yml index d0ece8e3..af3e32b1 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: @WallabagBundle/Controller/ + resource: @WallabagCoreBundle/Controller/ 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: WallabagBundle:Entry:showUnread } \ No newline at end of file + pattern: "/{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"