소스 검색

Retour à la fiche film après modif

François 6 년 전
부모
커밋
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()));
 		}