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