mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-24 03:42:32 +01:00
Cleaned setting section redirect path
This commit is contained in:
parent
b4f2b73590
commit
9d77cca734
@ -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 New Issue
Block a user