/**
  * Refresh module list before any module operation.
  */
 public function beforeAction($action)
 {
     Yii::$app->scanModules();
     return parent::beforeAction($action);
 }