Skip to content

Commit fdfd1ad

Browse files
Update security/voters.rst
Co-Authored-By: Antoine Makdessi <antoine.makdessi@agriconomie.com>
1 parent 221bbb1 commit fdfd1ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/voters.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ For more information take a look at
3535

3636
The example used throughout this page features just two routes (``post_show`` and ``post_edit``).
3737
However, the advantage of voters is that you can reuse them in *many* places and centralize
38-
all permission logic. If you don't reuse permissions and the rules are simple, you instead
38+
all permission logic. If you don't reuse permissions or the rules are basic, you instead
3939
might want to do the check in the controller directly and throw an ``AccessDeniedException``
4040
to create the correct response::
4141

0 commit comments

Comments
 (0)