[ 'class' => 'yii\web\ErrorAction', ], 'captcha' => [ 'class' => 'yii\captcha\CaptchaAction', 'fixedVerifyCode' => YII_ENV_TEST ? 'testme' : null, ], ]; } public function actionIndex() { $this->redirect(['site/index']); } public function actionCommon(/*$company_id*/) { return $this->render('common'); } public function actionPortfolio(/*$company_id*/) { return $this->render('portfolio'); } public function actionTeam(/*$company_id*/) { return $this->render('team'); } public function actionBlogList(/*$company_id*/) { return $this->render('blog-list'); } public function actionBlogView(/*$company_id, $article_id*/) { return $this->render('blog-view'); } public function actionReview(/*$company_id*/) { return $this->render('review'); } public function actionVacancyList(/*$company_id*/) { return $this->render('vacancy-list'); } public function actionVacancyView(/*$company_id, $vacancy_id*/) { return $this->render('vacancy-view'); } public function actionGallery(/*$company_id*/) { $this->layout = 'gallery-company'; return $this->render('gallery'); } }