/ Published in: PHP
[ Yii Framework ] Use this to redirect to previous page or last request URL
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$this->redirect(Yii::app()->request->urlReferrer);