We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25a1a94 commit 599922cCopy full SHA for 599922c
security/voters.rst
@@ -78,7 +78,7 @@ code like this:
78
{
79
#[Route('/posts/{id}', name: 'post_show')]
80
// check for "view" access: calls all voters
81
- #[IsGranted('show', 'post')]
+ #[IsGranted('view', 'post')]
82
public function show(Post $post): Response
83
84
// ...
0 commit comments