diff --git a/src/Mvc/Controller/Crud.php b/src/Mvc/Controller/Crud.php index ed391ea..b540735 100644 --- a/src/Mvc/Controller/Crud.php +++ b/src/Mvc/Controller/Crud.php @@ -21,7 +21,14 @@ * * // attach more events * } - * + * + * // instead using eventManager you can use method like + * protected function afterCreate() + * { + * parent::afterCreate(); + * $this->response->redirect('user-admin/index'); + * } + * * // other actions * } *