I have this[color="#00FFFF"] "admin.php" [/color]which is mainly the home page of an admin. It is located in protected/admin/views.
Now my real problem is this:
// validate user input and redirect to the previous page if valid
if($model->validate() && $model->login())
$this->render('admin.php'); //I've already customized this, but still it has an error.
I would like to redirect it to protected/admin/views/admin.php. How do I do this?