8000 Merge branch '4.2' · armin-github/symfony-docs@8b28665 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8b28665

Browse files
committed
Merge branch '4.2'
* 4.2: Fixing broken sentence
2 parents d286b45 + 52acea0 commit 8b28665

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

security.rst

Lines changed: 2 additions & 2 deletions
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)
0