This code is valid to restrict this Controller for memeber only? (sorry for my english)
<?php
/**
*
*/
class PrivateController extends Controller
{
public function filters()
{
return array(
'accessControl',
);
}
function actionIndex()
{
$this->render('index');
}
}
?>
Seems not work. I can access without login…I read the guide and some tutorials but there is something that I do wrong.
Tranks.