Modification pour galerie/DelAction
[zf2.biz/galerie.git] / 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),
         ));
     }