From a216b8751d4f120d5856be1526e30f9151366d80 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Mon, 19 Oct 2015 17:05:56 +0200 Subject: [PATCH] Fixed a typo --- cookbook/security/voters.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cookbook/security/voters.rst b/cookbook/security/voters.rst index 3da6cd8253f..2d149398361 100644 --- a/cookbook/security/voters.rst +++ b/cookbook/security/voters.rst @@ -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 @@ -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)