X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=app%2Fconfig%2Frouting.yml;h=0f7b61fb3427991b7fad329357ae82688a57dc3f;hb=8c3c77c1bd5c3763c127bfea52e908e77dc751b9;hp=a748d532f46ebf0d6eb074e80c5dcf1cbb57d7b4;hpb=93fd4692f6eb753cae16358131c8049d84cfbb41;p=github%2Fwallabag%2Fwallabag.git diff --git a/app/config/routing.yml b/app/config/routing.yml index a748d532..0f7b61fb 100644 --- a/app/config/routing.yml +++ b/app/config/routing.yml @@ -1,3 +1,28 @@ +wallabag_api: + resource: "@WallabagApiBundle/Resources/config/routing.yml" + prefix: / + app: - resource: @WallabagBundle/Controller/ - type: annotation + 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: + 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"