|
@@ -51,7 +51,7 @@ class VideothequeController extends Controller
|
|
|
$em->persist($film);
|
|
|
$em->flush();
|
|
|
$this->addFlash('success', 'Le film a été ajouté');
|
|
|
- return $this->redirectToRoute('videotheque_liste');
|
|
|
+ return $this->redirectToRoute('videotheque_voirfilm', array('id'=>$film->getId()));
|
|
|
}
|
|
|
|
|
|
return $this->render('@App/videotheque/ajouter.html.twig', array(
|