Hi All,
Have just started to learn Yii. How can I redirect a request to different controller and action using a redirect function?
Assume the controller is branches and the action is view
Hi All,
Have just started to learn Yii. How can I redirect a request to different controller and action using a redirect function?
Assume the controller is branches and the action is view
Just use this in your controller
$this->redirect(array(‘your controller/your action’));