Skip to content

Commit a5f54e3

Browse files
gerryvdmweaverryan
gerryvdm
authored andcommitted
Update voters.rst
Corrected the service name to be injected0
1 parent 4c3c726 commit a5f54e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/security/voters.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ access, not to grant access.
3232
Creating a custom Voter
3333
-----------------------
3434

35-
To blacklist a user based on its IP, you can use the ``request`` service
35+
To blacklist a user based on its IP, you can use the ``request_stack`` service
3636
and compare the IP address against a set of blacklisted IP addresses:
3737

3838
.. code-block:: php

0 commit comments

Comments
 (0)