Skip to content

Commit

Permalink
bug #4165 Update voters.rst (gerryvdm)
Browse files Browse the repository at this point in the history
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 5fac303
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbook/security/voters.rst
Expand Up @@ -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
Expand Down

0 comments on commit 5fac303

Please sign in to comment.