]> git.immae.eu Git - github/wallabag/wallabag.git/blame - app/config/routing.yml
Handle redirection from previous feeds
[github/wallabag/wallabag.git] / app / config / routing.yml
CommitLineData
4dc87223 1wallabag_annotation:
f38e03dc 2 type : rest
4dc87223 3 resource: "@WallabagAnnotationBundle/Resources/config/routing_annotations.yml"
f38e03dc 4
1f4408de
NL
5wallabag_import:
6 resource: "@WallabagImportBundle/Controller/"
2bc9cad7
JB
7 type: annotation
8 prefix: /import
1f4408de 9
152fcccd
JB
10wallabag_user:
11 resource: "@WallabagUserBundle/Controller/"
12 type: annotation
13 prefix: /users
14
ee32248f
JB
15wallabag_api:
16 resource: "@WallabagApiBundle/Controller/"
17 type: annotation
18 prefix: /
19
93fd4692 20app:
5c895a7f 21 resource: "@WallabagCoreBundle/Controller/"
5ead137f 22 type: annotation
b84a8055 23
e4788de5
NL
24doc-api:
25 resource: "@NelmioApiDocBundle/Resources/config/routing.yml"
26 prefix: /api/doc
27
f8bf8952 28rest :
32da2a70
J
29 type : rest
30 resource : "routing_rest.yml"
31 prefix : /api
9fb6ac83
FG
32
33homepage:
5ead137f 34 path: "/{page}"
63e40f2d
JB
35 defaults:
36 _controller: WallabagCoreBundle:Entry:showUnread
37 page : 1
9fb6ac83 38 requirements:
5ead137f 39 page: \d+
fcb1fba5
NL
40
41fos_user:
42 resource: "@FOSUserBundle/Resources/config/routing/all.xml"
43
44fos_oauth_server_token:
45 resource: "@FOSOAuthServerBundle/Resources/config/routing/token.xml"
63e40f2d
JB
46
47craue_config_settings_modify:
48 path: /settings
49 defaults:
50 _controller: CraueConfigBundle:Settings:modify
3cc78f06
NL
51
52fos_js_routing:
53 resource: "@FOSJsRoutingBundle/Resources/config/routing/routing.xml"
a6b242a1
JB
54
552fa_login:
56 path: /2fa
57 defaults:
58 _controller: "scheb_two_factor.form_controller:form"
59
602fa_login_check:
61 path: /2fa_check
68a90821
JB
62
63# redirect RSS feed to Atom
64rss_to_atom_unread:
65 path: /{username}/{token}/unread.xml
66 defaults:
67 _controller: FrameworkBundle:Redirect:redirect
68 route: unread_feed
69 permanent: true
70
71rss_to_atom_archive:
72 path: /{username}/{token}/archive.xml
73 defaults:
74 _controller: FrameworkBundle:Redirect:redirect
75 route: archive_feed
76 permanent: true
77
78rss_to_atom_starred:
79 path: /{username}/{token}/starred.xml
80 defaults:
81 _controller: FrameworkBundle:Redirect:redirect
82 route: starred_feed
83 permanent: true
84
85rss_to_atom_all:
86 path: /{username}/{token}/all.xml
87 defaults:
88 _controller: FrameworkBundle:Redirect:redirect
89 route: all_feed
90 permanent: true
91
92rss_to_atom_tags:
93 path: /{username}/{token}/tags/{slug}.xml
94 defaults:
95 _controller: FrameworkBundle:Redirect:redirect
96 route: tag_feed
97 permanent: true