Commit ecb5d9c5 authored by Fabien Potencier's avatar Fabien Potencier

merged branch robincawser/patch-3 (PR #595)

This PR was merged into the master branch.

Commits
-------

ff75c9e0 Update doc/providers/security.rst

Discussion
----------

Update doc/providers/security.rst

Added closing bracket
parents 06fff16b ff75c9e0
...@@ -296,7 +296,7 @@ Checking User Roles ...@@ -296,7 +296,7 @@ Checking User Roles
To check if a user is granted some role, use the ``isGranted()`` method on the To check if a user is granted some role, use the ``isGranted()`` method on the
security context:: security context::
if ($app['security']->isGranted('ROLE_ADMIN') { if ($app['security']->isGranted('ROLE_ADMIN')) {
// ... // ...
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment