# vim app/config/security.yml
# app/config/security.yml
security:
access_control:
- { path: ^/admin, roles: [ROLE_ADMIN, ROLE_MANAGER] }
Try to clear the cache:
# php app/console cache:clear --env=prod
# app/config/security.yml
security:
access_control:
- { path: ^/admin, roles: [ROLE_ADMIN, ROLE_MANAGER] }
No comments:
Post a Comment