Skip to content

Commit

Permalink
Fixed a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
javiereguiluz committed Oct 19, 2015
1 parent 0ea3491 commit a216b87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cookbook/security/voters.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ security context (i.e. the ``security.context`` service). Each one decides
if the current user should have access to some resource.

Ultimately, Symfony takes the responses from all voters and makes the final
decission (to allow or deny access to the resource) according to the strategy defined
decision (to allow or deny access to the resource) according to the strategy defined
in the application, which can be: affirmative, consensus or unanimous.

For more information take a look at
Expand Down Expand Up @@ -207,7 +207,7 @@ and tag it with ``security.voter``:
// app/config/services.php
use Symfony\Component\DependencyInjection\Definition;
$definition = new Definition('AppBundle\Security\Authorization\Voter\PostVoter');
$definition
->setPublic(false)
Expand Down

0 comments on commit a216b87

Please sign in to comment.