Skip to content

Commit

Permalink
refreshes the current page after settings have been saved.
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-chepurnoi committed Feb 17, 2017
1 parent 8ce6dd0 commit 2bc1650
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions actions/SettingsAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2bc1650

Please sign in to comment.