Skip to content
This repository has been archived by the owner on Aug 10, 2022. It is now read-only.

Commit

Permalink
Merge pull request #4 from arius86/master
Browse files Browse the repository at this point in the history
CRUD docblock update with new methods example
  • Loading branch information
arius86 committed Sep 15, 2014
2 parents 89d4d27 + ec83964 commit 3dfd4c5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/Mvc/Controller/Crud.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
* }
* </code>
Expand Down

0 comments on commit 3dfd4c5

Please sign in to comment.