banki.test/controllers/SiteController.php

31 lines
458 B
PHP
Raw Normal View History

<?php
namespace app\controllers;
use yii\web\Controller;
class SiteController extends Controller
{
/**
* Displays homepage.
*
* @return string
*/
public function actionIndex()
{
return $this->render('index');
}
2024-08-20 07:49:05 +02:00
/**
* {@inheritdoc}
*/
public function actions()
{
return [
'error' => [
'class' => 'yii\web\ErrorAction',
],
];
}
}