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 ec6bd34 commit 51b5135Copy full SHA for 51b5135
src/Controller/Admin/BlogController.php
@@ -33,7 +33,7 @@
33
* See http://knpbundles.com/keyword/admin
34
*
35
* @Route("/admin/post")
36
- * @Security("has_role('ROLE_ADMIN')")
+ * @Security("is_granted('ROLE_ADMIN')")
37
38
* @author Ryan Weaver <weaverryan@gmail.com>
39
* @author Javier Eguiluz <javier.eguiluz@gmail.com>
src/Controller/UserController.php
@@ -24,7 +24,7 @@
24
* Controller used to manage current user.
25
26
* @Route("/profile")
27
- * @Security("has_role('ROLE_USER')")
+ * @Security("is_granted('ROLE_USER')")
28
29
* @author Romain Monteil <monteil.romain@gmail.com>
30
*/
0 commit comments