X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=app%2Fconfig%2Frouting.yml;h=84b98d2323621be0e315ab6e3df3f378c8075808;hb=5c895a7fd15822856fb407910264c5d95e1e223c;hp=d0ece8e303c10e6087932162fa1a04b2d9d4b1ff;hpb=b84a80559a1167b5500fbc5eb4965d3b08b371ef;p=github%2Fwallabag%2Fwallabag.git diff --git a/app/config/routing.yml b/app/config/routing.yml index d0ece8e3..84b98d23 100644 --- a/app/config/routing.yml +++ b/app/config/routing.yml @@ -1,7 +1,33 @@ -app: - resource: @WallabagBundle/Controller/ +wallabag_import: + resource: "@WallabagImportBundle/Controller/" type: annotation + prefix: /import + +wallabag_api: + resource: "@WallabagApiBundle/Resources/config/routing.yml" + prefix: / + +app: + 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 + 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"