[ 'class' => AccessControl::className (), 'only' => [ 'logout', 'signup' ], 'rules' => [ [ 'actions' => [ 'signup' ], 'allow' => true, 'roles' => [ '?' ] ], [ 'actions' => [ 'logout' ], 'allow' => true, 'roles' => [ '@' ] ] ] ], 'verbs' => [ 'class' => VerbFilter::className (), 'actions' => [ 'logout' => [ 'post' ] ] ] ]; } /** * @inheritdoc */ public function actions() { return [ 'error' => [ 'class' => 'yii\web\ErrorAction' ], 'captcha' => [ 'class' => 'yii\captcha\CaptchaAction', 'fixedVerifyCode' => YII_ENV_TEST ? 'testme' : null ] ]; } public function actionIndex() { return $this->render ( 'index' ); } public function actionPast() { return $this->render ( 'index' ); } public function actionGgbn2014() { return $this->render ( 'ggbn2014' ); } public function actionGgbn2012() { return $this->render ( 'ggbn2012' ); } public function actionGgbn2011() { return $this->render ( 'ggbn2011' ); } }