Skip to content

Commit c624230

Browse files
committed
minor #832 Remove outdated comment (codedmonkey)
This PR was merged into the master branch. Discussion ---------- Remove outdated comment Removes a comment that was obsoleted by changing usages of `@Security` to the `@IsGranted` annotation. Commits ------- 7660c76 Remove outdated comment
2 parents 559b771 + 7660c76 commit c624230

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Controller/Admin/BlogController.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,6 @@ public function edit(Request $request, Post $post): Response
158158
*
159159
* @Route("/{id}/delete", methods={"POST"}, name="admin_post_delete")
160160
* @IsGranted("delete", subject="post")
161-
*
162-
* The Security annotation value is an expression (if it evaluates to false,
163-
* the authorization mechanism will prevent the user accessing this resource).
164161
*/
165162
public function delete(Request $request, Post $post): Response
166163
{

0 commit comments

Comments
 (0)