Просмотр исходного кода

Retour à la fiche film après modif

François 6 лет назад
Родитель
Сommit
fc61a9a950
1 измененных файлов с 1 добавлено и 1 удалено
  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()));
 		}