aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/config/routing.yml
blob: 5fa28fba8d2237d64592c04d767b161c9719fd7f (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
39
40
41
42
43
wallabag_user:
    resource: "@WallabagUserBundle/Controller/"
    type:     annotation
    prefix:   /

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"