From 2b4770301cbcaed3838ae3c0b175a985d1b4fb4f Mon Sep 17 00:00:00 2001 From: Vincent Date: Mon, 7 Mar 2016 15:00:03 +0100 Subject: Add version in API --- app/config/security.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'app') diff --git a/app/config/security.yml b/app/config/security.yml index 7f05123a..0748c06c 100644 --- a/app/config/security.yml +++ b/app/config/security.yml @@ -53,6 +53,7 @@ security: access_control: - { path: ^/api/doc, roles: IS_AUTHENTICATED_ANONYMOUSLY } + - { path: ^/api/version, roles: IS_AUTHENTICATED_ANONYMOUSLY } - { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY } - { path: ^/register, role: IS_AUTHENTICATED_ANONYMOUSLY } - { path: ^/resetting, role: IS_AUTHENTICATED_ANONYMOUSLY } -- cgit v1.2.3