aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/config/routing.yml
diff options
context:
space:
mode:
authorJeremy Benoist <j0k3r@users.noreply.github.com>2015-10-06 09:19:06 +0200
committerJeremy Benoist <j0k3r@users.noreply.github.com>2015-10-06 09:19:06 +0200
commit16dabc326311f084d671be188c7941bbb3c341c9 (patch)
tree3210a7688ea2bfa1bff5fd0422b52adf570edcdc /app/config/routing.yml
parentfdef5f460524215d806e244e5546865f4b8e01df (diff)
parent8263e71192989dc0fd28a41ac22f9c5b32eb11c4 (diff)
downloadwallabag-16dabc326311f084d671be188c7941bbb3c341c9.tar.gz
wallabag-16dabc326311f084d671be188c7941bbb3c341c9.tar.zst
wallabag-16dabc326311f084d671be188c7941bbb3c341c9.zip
Merge pull request #1436 from wallabag/v2-register
Public registration & oAuth2 \o/
Diffstat (limited to 'app/config/routing.yml')
-rw-r--r--app/config/routing.yml16
1 files changed, 6 insertions, 10 deletions
diff --git a/app/config/routing.yml b/app/config/routing.yml
index e8bf08a5..af3e32b1 100644
--- a/app/config/routing.yml
+++ b/app/config/routing.yml
@@ -10,16 +10,6 @@ doc-api:
10 resource: "@NelmioApiDocBundle/Resources/config/routing.yml" 10 resource: "@NelmioApiDocBundle/Resources/config/routing.yml"
11 prefix: /api/doc 11 prefix: /api/doc
12 12
13login:
14 pattern: /login
15 defaults: { _controller: WallabagCoreBundle:Security:login }
16
17login_check:
18 pattern: /login_check
19
20logout:
21 path: /logout
22
23rest : 13rest :
24 type : rest 14 type : rest
25 resource : "routing_rest.yml" 15 resource : "routing_rest.yml"
@@ -30,3 +20,9 @@ homepage:
30 defaults: { _controller: WallabagCoreBundle:Entry:showUnread, page : 1 } 20 defaults: { _controller: WallabagCoreBundle:Entry:showUnread, page : 1 }
31 requirements: 21 requirements:
32 page: \d+ 22 page: \d+
23
24fos_user:
25 resource: "@FOSUserBundle/Resources/config/routing/all.xml"
26
27fos_oauth_server_token:
28 resource: "@FOSOAuthServerBundle/Resources/config/routing/token.xml"