Browse Source

Retour à la fiche film après modif

François 6 years ago
parent
commit
fc61a9a950
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/AppBundle/Controller/VideothequeController.php

+ 1 - 1
src/AppBundle/Controller/VideothequeController.php

@@ -123,7 +123,7 @@ class VideothequeController extends Controller
             }
 			$em->flush();
 			$this->addFlash('success', 'Le film a été modifié');
-			return $this->redirectToRoute('videotheque_liste');
+			return $this->redirectToRoute('videotheque_voirfilm',array('id'=>$film->getId()));
 		}