aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/config/routing.yml
blob: dabb48fa7f9989f74605eb480567b2ce7a616872 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
wallabag_api:
    resource: "@WallabagApiBundle/Resources/config/routing.yml"
    prefix:   /

app:
    resource: @WallabagCoreBundle/Controller/
    type:     annotation

doc-api:
    resource: "@NelmioApiDocBundle/Resources/config/routing.yml"
    prefix: /api/doc

login:
    pattern:   /login
    defaults:  { _controller: WallabagCoreBundle:Security:login }

login_check:
    pattern:   /login_check

logout:
    path:   /logout

rest :
    type : rest
    resource : "routing_rest.yml"
    prefix : /api

homepage:
    pattern:   "/{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"