fix: bring back error
This commit is contained in:
parent
f9d29e15f5
commit
8efdde5f8c
|
@ -21,4 +21,16 @@ class SiteController extends Controller
|
|||
{
|
||||
return $this->render('index');
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function actions()
|
||||
{
|
||||
return [
|
||||
'error' => [
|
||||
'class' => 'yii\web\ErrorAction',
|
||||
],
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue