Quellcode durchsuchen

Retour à la fiche film après modif

François vor 6 Jahren
Ursprung
Commit
fc61a9a950
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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()));
 		}