]> git.immae.eu Git - github/wallabag/wallabag.git/blob - config/routing.yml
Merge pull request #4438 from wallabag/dependabot/composer/scheb/two-factor-bundle...
[github/wallabag/wallabag.git] / config / routing.yml
1 wallabag_api:
2 resource: "@WallabagApiBundle/Resources/config/routing.yml"
3 prefix: /
4
5 app:
6 resource: @WallabagCoreBundle/Controller/
7 type: annotation
8
9 doc-api:
10 resource: "@NelmioApiDocBundle/Resources/config/routing.yml"
11 prefix: /api/doc
12
13 login:
14 pattern: /login
15 defaults: { _controller: WallabagCoreBundle:Security:login }
16
17 login_check:
18 pattern: /login_check
19
20 logout:
21 path: /logout
22
23 rest :
24 type : rest
25 resource : "routing_rest.yml"
26 prefix : /api
27
28 homepage:
29 pattern: "/{page}"
30 defaults: { _controller: WallabagCoreBundle:Entry:showUnread, page : 1 }
31 requirements:
32 page: \d+