projects
/
zf2.biz
/
galerie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Modification pour galerie/DelAction
[zf2.biz/galerie.git]
/
module
/
Galerie
/
src
/
Galerie
/
Controller
/
IndexController.php
diff --git
a/module/Galerie/src/Galerie/Controller/IndexController.php
b/module/Galerie/src/Galerie/Controller/IndexController.php
index
b8847a0
..
15455a3
100644
(file)
--- a/
module/Galerie/src/Galerie/Controller/IndexController.php
+++ b/
module/Galerie/src/Galerie/Controller/IndexController.php
@@
-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),
));
}