Skip to content

Fixed a typo #5810

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 19, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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