aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/config
diff options
context:
space:
mode:
Diffstat (limited to 'app/config')
-rw-r--r--app/config/routing.yml5
-rw-r--r--app/config/security.yml1
2 files changed, 1 insertions, 5 deletions
diff --git a/app/config/routing.yml b/app/config/routing.yml
index 426dcdcf..20f6979a 100644
--- a/app/config/routing.yml
+++ b/app/config/routing.yml
@@ -18,11 +18,6 @@ login_check:
18logout: 18logout:
19 path: /logout 19 path: /logout
20 20
21#wallabag_api:
22# resource: "@WallabagApiBundle/Controller/"
23# type: annotation
24# prefix: /api
25
26rest : 21rest :
27 type : rest 22 type : rest
28 resource : "routing_rest.yml" 23 resource : "routing_rest.yml"
diff --git a/app/config/security.yml b/app/config/security.yml
index 4a798e56..e06c8967 100644
--- a/app/config/security.yml
+++ b/app/config/security.yml
@@ -56,6 +56,7 @@ security:
56 target: / 56 target: /
57 57
58 access_control: 58 access_control:
59 - { path: ^/api/salt, roles: IS_AUTHENTICATED_ANONYMOUSLY }
59 - { path: ^/api/doc, roles: IS_AUTHENTICATED_ANONYMOUSLY } 60 - { path: ^/api/doc, roles: IS_AUTHENTICATED_ANONYMOUSLY }
60 - { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY } 61 - { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY }
61 - { path: ^/, roles: ROLE_USER } 62 - { path: ^/, roles: ROLE_USER }