Permalink
Browse files

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
  • Loading branch information...
weaverryan committed Aug 25, 2014
2 parents 4c3c726 + a5f54e3 commit 5fac303e45053fc3fec61fc64b1a8b5a2b819af0
Showing with 1 addition and 1 deletion.
  1. +1 −1 cookbook/security/voters.rst
@@ -32,7 +32,7 @@ access, not to grant access.
Creating a custom Voter
-----------------------
To blacklist a user based on its IP, you can use the ``request`` service
To blacklist a user based on its IP, you can use the ``request_stack`` service
and compare the IP address against a set of blacklisted IP addresses:
.. code-block:: php

0 comments on commit 5fac303

Please sign in to comment.