Skip to content

Commit 2bc5c54

Browse files
1 parent 40bbd81 commit 2bc5c54

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

security/voters.rst

-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ really need to secure just one or two routes, you can get away without setting u
3737
doing the check right inside your controller(s)::
3838

3939
// src/AppBundle/Controller/PostController.php
40-
4140
if ($post->getOwner() !== $this->getUser()) {
4241
throw new AccessDeniedException();
4342
}

0 commit comments

Comments
 (0)