From 8efdde5f8cf7307c93773632eda4ef1f50036285 Mon Sep 17 00:00:00 2001 From: b1ek Date: Tue, 20 Aug 2024 15:49:05 +1000 Subject: [PATCH] fix: bring back error --- controllers/SiteController.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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', + ], + ]; + } }