/**
  * Creates a new ContactMsg model.
  * If creation is successful, the browser will be redirected to the 'view' page.
  * @return mixed
  */
 public function actionCreate()
 {
     $model = new ContactMsg();
     $model->loadDefaultValues();
     if ($model->load(Yii::$app->request->post()) && $model->save()) {
         Yii::$app->getSession()->setFlash('success', Adm::t('', 'Data successfully inserted!'));
         return Adm::redirect(['update', 'id' => $model->id]);
     }
     return $this->render('create', ['model' => $model]);
 }