diff --git a/controllers/SiteController.php b/controllers/SiteController.php index 9ecc13e..4896c67 100644 --- a/controllers/SiteController.php +++ b/controllers/SiteController.php @@ -21,4 +21,16 @@ class SiteController extends Controller { return $this->render('index'); } + + /** + * {@inheritdoc} + */ + public function actions() + { + return [ + 'error' => [ + 'class' => 'yii\web\ErrorAction', + ], + ]; + } }