Skip to content

Commit a592eea

Browse files
Minor reword in the help note
1 parent 8468423 commit a592eea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/AppBundle/Security/PostVoter.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ protected function voteOnAttribute($attribute, $post, TokenInterface $token)
5353
return false;
5454
}
5555

56-
// the logic of this voter is pretty simple: if the given user is the
57-
// author of the blog post, grant permission; otherwise, deny it.
56+
// the logic of this voter is pretty simple: if the logged user is the
57+
// author of the given blog post, grant permission; otherwise, deny it.
5858
// (the supports() method guarantees that $post is a Post object)
5959
return $user === $post->getAuthor();
6060
}

0 commit comments

Comments
 (0)