mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-17 18:02:26 +08:00
Added tests to cover shortcut endpoints
This commit is contained in:
@ -41,7 +41,7 @@ class UserPreferencesController extends Controller
|
||||
setting()->putUser(user(), 'ui-shortcuts', $shortcuts->toJson());
|
||||
setting()->putUser(user(), 'ui-shortcuts-enabled', $enabled);
|
||||
|
||||
$this->showSuccessNotification('Shortcuts preferences have been updated!');
|
||||
$this->showSuccessNotification('Shortcut preferences have been updated!');
|
||||
|
||||
return redirect('/preferences/shortcuts');
|
||||
}
|
||||
|
Reference in New Issue
Block a user