| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 | 
							- <?php
 
- namespace backend\controllers;
 
- use yii\filters\VerbFilter;
 
- use yii\web\Controller;
 
- /**
 
-  * Site controller.
 
-  */
 
- class SiteController extends Controller
 
- {
 
-     /**
 
-      * {@inheritdoc}
 
-      */
 
-     public function behaviors()
 
-     {
 
-         return [
 
-             'verbs' => [
 
-                 'class' => VerbFilter::className(),
 
-                 'actions' => [
 
-                     'logout' => ['post'],
 
-                 ],
 
-             ],
 
-         ];
 
-     }
 
-     /**
 
-      * {@inheritdoc}
 
-      */
 
-     public function actions()
 
-     {
 
-         return [
 
-             'error' => [
 
-                 'class' => 'yii\web\ErrorAction',
 
-             ],
 
-             'demo' => [
 
-                 'class' => 'yii\web\ViewAction',
 
-             ],
 
-         ];
 
-     }
 
-     public function actionIndex()
 
-     {
 
-         $this->layout = false;
 
-         return $this->render('index');
 
-     }
 
-     public function actionDashboard()
 
-     {
 
-         return $this->render('dashboard');
 
-     }
 
-     public function actionIcons()
 
-     {
 
-         return $this->render('pages/icons');
 
-     }
 
- }
 
 
  |