Skip to content

Commit 33bcdea

Browse files
Fixing broken sentence
Basically resetting it to where it was in v3.4: https://symfony.com/doc/3.4/security.html#access-control-in-templates
1 parent a1427e5 commit 33bcdea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

security.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -602,8 +602,8 @@ For more information, see the `FrameworkExtraBundle documentation`_.
602602
Access Control in Templates
603603
...........................
604604

605-
If you want to check if the current access inside a template, use
606-
the built-in ``is_granted()`` helper function:
605+
If you want to check if the current user has a certain role, you can use
606+
the built-in ``is_granted()`` helper function in any Twig template:
607607

608608
.. code-block:: html+twig
609609

0 commit comments

Comments
 (0)