Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 33bcdea

Browse filesBrowse 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
Copy full SHA for 33bcdea

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎security.rst

Copy file name to clipboardExpand all lines: security.rst
+2-2Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.