public function init()
 {
     parent::init();
     \Yii::$app->view->registerJsFile('/js/app/online.js', ['depends' => [AppAsset::className()]]);
 }
 /**
  * @inheritdoc
  */
 public function actions()
 {
     $actions = parent::actions();
     $actions['error'] = ['class' => 'yii\\web\\ErrorAction'];
     return $actions;
 }