} public function actionAbout($id = null) { if (is_null($id)) { $id = Yii::$app->user->id; } $user = User::findOne($id); $profile = Profile::findOne($id); if ($profile->load(Yii::$app->request->post())) { $profile->save(); } return $this->render( 'view', [ 'view' => 'about', 'view_params' => [ 'profile' => $profile,