there is an example:
class EditAction extends CAction
public function run()
// place the action logic here
In order for the controller to be aware of this action, we override the actions() method of our controller class:
class PostController extends CController
public function actions()
In the above, we use path alias 'application.controllers.post.UpdateAction to specify that the action class file is protected/controllers/post/UpdateAction.php.
But initially you crerated EditAction, not UpdateAction.
I think, that's just a mistake, yeah? It messed me up a bit, please correct this.