From 2bc1650b182be5303bcee2fcb15758c51b1a022c Mon Sep 17 00:00:00 2001 From: igor-chepurnoi Date: Fri, 17 Feb 2017 12:36:37 +0200 Subject: [PATCH] refreshes the current page after settings have been saved. --- actions/SettingsAction.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/actions/SettingsAction.php b/actions/SettingsAction.php index 846630f..ad9da2d 100644 --- a/actions/SettingsAction.php +++ b/actions/SettingsAction.php @@ -96,6 +96,8 @@ public function run() if ($this->successMessage !== null) { Yii::$app->session->setFlash('success', $this->successMessage); } + + return $this->controller->refresh(); } $this->prepareModel($model);