Server_AccessControl/controllers/DashboardController.php
2020-10-21 08:42:03 +07:00

39 lines
710 B
PHP

<?php
namespace app\controllers;
use Yii;
use yii\web\Controller;
use yii\filters\VerbFilter;
/**
* ScriptController implements the CRUD actions for Script model.
*/
class DashboardController extends Controller {
public function init() {
parent::init();
}
/**
* {@inheritdoc}
*/
public function behaviors() {
return [
'verbs' => [
'class' => VerbFilter::className(),
'actions' => [
'delete' => ['POST'],
],
],
];
}
public function actionIndex() {
$this->view->title = "Thông báo";
return $this->render('index', [
]);
}
}