Cleaned setting section redirect path
This commit is contained in:
parent
b4f2b73590
commit
9d77cca734
1 changed files with 2 additions and 1 deletions
|
@ -71,7 +71,8 @@ class SettingController extends Controller
|
|||
}
|
||||
|
||||
$this->showSuccessNotification(trans('settings.settings_save_success'));
|
||||
return redirect('/settings#' . $request->get('section', ''));
|
||||
$redirectLocation = '/settings#' . $request->get('section', '');
|
||||
return redirect(rtrim($redirectLocation, '#'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue