Files
SmartHomePHP/controllers/SiteController.php
Alex Solomaha c5ae61fddb Some work
2016-08-16 15:07:56 +03:00

27 lines
444 B
PHP

<?php
namespace app\controllers;
use Yii;
use yii\filters\AccessControl;
use yii\web\Controller;
use yii\filters\VerbFilter;
use app\models\LoginForm;
class SiteController extends Controller
{
public function actions()
{
return [
'error' => [
'class' => 'yii\web\ErrorAction',
],
];
}
public function actionIndex()
{
return $this->render('index');
}
}