in "cityControler" I have this code:
class CityController extends Controller
{
public function init () {
if(Yii::app()->user->isGuest) {$this->redirect(Yii::app()->homeUrl); return false;}
Yii:: app () -> theme = "defaultCityTheme";
parent:: init ();
}
....
when it calls the action to load the code into a new "DIV", the start page loads. This works like a normal render, what do I do this to be true to redirect