Modification pour galerie/DelAction
authorSébastien CHAZALLET <s.chazallet@gmail.com>
Wed, 7 Nov 2012 19:49:51 +0000 (20:49 +0100)
committerSébastien CHAZALLET <s.chazallet@gmail.com>
Wed, 7 Nov 2012 19:49:51 +0000 (20:49 +0100)
module/Galerie/src/Galerie/Controller/IndexController.php

index b8847a0..15455a3 100644 (file)
@@ -66,7 +66,7 @@ class IndexController extends AbstractActionController
     public function delAction() 
     { 
         return $this->redirect()->toRoute('galerie/view', array(
-            'id' => $id,
+            'id' => $this->params()->fromRoute('id', null),
         ));
     }