View file vkclone-0.0.1/protected/gii/module/templates/wmstyle/controllers/DefaultController.php
<?php echo "<?php\n"; ?> namespace <?= ucfirst($this->moduleID) ?>\controllers; use \Site\components\FrontEndController; class DefaultController extends FrontEndController { public function accessRules() { return CMap::mergeArray(array( array('allow', 'actions' => array('index'), 'users' => array('@'), ), ), parent::accessRules()); } public function actionIndex() { $this->render('index'); } }