renaming the view.php to another name causes problem

hi, i trying to rename the view file in the views/user and i m also renaming the function view in user controller


public function actionView($id)

	{

		$this->render('view',array(

			'model'=>$this->loadModel($id),

		));

	}

to like this


public function actionHome($id)

	{

		$this->render('home',array(

			'model'=>$this->loadModel($id),

		));

	}

but it is causing to let me login, and when i login and it says i m not authorized. whats wrong? can anyone help?

Check the accessRules() in the controller… you need to set who are allowed for the action "home"

Your application has some kind of authorization. Either the default or with an RBAC-module. You need to specify that the ‘Home’-action is allowed. Respectively in the rules-section of the controller or in the RBAC-module.

thanks allowing the ‘home’ in rules helped