mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Started interface user shortcut form interface
Built controller actions and initual UI. Still needs JS logic for shortcut input handling.
This commit is contained in:
@ -246,6 +246,9 @@ Route::middleware('auth')->group(function () {
|
||||
Route::delete('/settings/users/{id}', [UserController::class, 'destroy']);
|
||||
|
||||
// User Preferences
|
||||
Route::redirect('/preferences', '/');
|
||||
Route::get('/preferences/shortcuts', [UserPreferencesController::class, 'showShortcuts']);
|
||||
Route::put('/preferences/shortcuts', [UserPreferencesController::class, 'updateShortcuts']);
|
||||
Route::patch('/settings/users/{id}/switch-books-view', [UserPreferencesController::class, 'switchBooksView']);
|
||||
Route::patch('/settings/users/{id}/switch-shelves-view', [UserPreferencesController::class, 'switchShelvesView']);
|
||||
Route::patch('/settings/users/{id}/switch-shelf-view', [UserPreferencesController::class, 'switchShelfView']);
|
||||
|
Reference in New Issue
Block a user