|
@@ -106,7 +106,7 @@ class VideothequeController extends AbstractController
|
|
|
|
|
|
/**
|
|
|
* @Route("/supprimer/{id}", name="videotheque_supprimer")
|
|
|
- * @Security("has_role('ROLE_ADMIN')")
|
|
|
+ * @Security("is_granted('ROLE_ADMIN')")
|
|
|
*/
|
|
|
public function supprimerAction(Request $request, Film $film)
|
|
|
{
|