]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - app/config/routing.yml
add a real relation between user and entry
[github/wallabag/wallabag.git] / app / config / routing.yml
index a57311dc09dc395001435bcf1d125c6b3609904c..426dcdcfe8aff3c92f507c0dc196800e7d536ae7 100644 (file)
@@ -10,7 +10,20 @@ 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
+
+#wallabag_api:
+#    resource: "@WallabagApiBundle/Controller/"
+#    type:     annotation
+#    prefix:   /api
+
 rest :
-    type : rest
-    resource : "routing_rest.yml"
-    prefix : /api
\ No newline at end of file
+  type : rest
+  resource : "routing_rest.yml"
+  prefix : /api
\ No newline at end of file