Skip to content

Commit 5fac303

Browse files
committed
bug #4165 Update voters.rst (gerryvdm)
This PR was submitted for the 2.5 branch but it was merged into the 2.4 branch instead (closes #4165). Discussion ---------- Update voters.rst Corrected the service name to be injected Commits ------- f0a46c9 Update voters.rst
2 parents 4c3c726 + a5f54e3 commit 5fac303

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)