瀏覽代碼

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()));
 		}