X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=app%2Fconfig%2Frouting.yml;h=d4defca02b2d7fdd04697427dca8ad2f33915ea5;hb=c1a201a4729ff05719ba8ec752baecd6615cda1e;hp=91a5705fc1e35afc271aa22f156d892d909e97eb;hpb=1f4408de9ed08f3b0fda45a93f1585c80feeb21d;p=github%2Fwallabag%2Fwallabag.git diff --git a/app/config/routing.yml b/app/config/routing.yml index 91a5705f..d4defca0 100644 --- a/app/config/routing.yml +++ b/app/config/routing.yml @@ -1,14 +1,24 @@ +wallabag_annotation: + type : rest + resource: "@WallabagAnnotationBundle/Resources/config/routing_annotations.yml" + wallabag_import: resource: "@WallabagImportBundle/Controller/" - type: annotation - prefix: / + type: annotation + prefix: /import + +wallabag_user: + resource: "@WallabagUserBundle/Controller/" + type: annotation + prefix: /users wallabag_api: - resource: "@WallabagApiBundle/Resources/config/routing.yml" + resource: "@WallabagApiBundle/Controller/" + type: annotation prefix: / app: - resource: @WallabagCoreBundle/Controller/ + resource: "@WallabagCoreBundle/Controller/" type: annotation doc-api: @@ -22,7 +32,9 @@ rest : homepage: path: "/{page}" - defaults: { _controller: WallabagCoreBundle:Entry:showUnread, page : 1 } + defaults: + _controller: WallabagCoreBundle:Entry:showUnread + page : 1 requirements: page: \d+ @@ -31,3 +43,55 @@ fos_user: fos_oauth_server_token: resource: "@FOSOAuthServerBundle/Resources/config/routing/token.xml" + +craue_config_settings_modify: + path: /settings + defaults: + _controller: CraueConfigBundle:Settings:modify + +fos_js_routing: + resource: "@FOSJsRoutingBundle/Resources/config/routing/routing.xml" + +2fa_login: + path: /2fa + defaults: + _controller: "scheb_two_factor.form_controller:form" + +2fa_login_check: + path: /2fa_check + +# redirect RSS feed to Atom +rss_to_atom_unread: + path: /{username}/{token}/unread.xml + defaults: + _controller: FrameworkBundle:Redirect:redirect + route: unread_feed + permanent: true + +rss_to_atom_archive: + path: /{username}/{token}/archive.xml + defaults: + _controller: FrameworkBundle:Redirect:redirect + route: archive_feed + permanent: true + +rss_to_atom_starred: + path: /{username}/{token}/starred.xml + defaults: + _controller: FrameworkBundle:Redirect:redirect + route: starred_feed + permanent: true + +rss_to_atom_all: + path: /{username}/{token}/all.xml + defaults: + _controller: FrameworkBundle:Redirect:redirect + route: all_feed + permanent: true + +rss_to_atom_tags: + path: /{username}/{token}/tags/{slug}.xml + defaults: + _controller: FrameworkBundle:Redirect:redirect + route: tag_feed + permanent: true