1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-30 04:23:11 +03:00

My Account: Built out profile page & endpoints

Text currently hard-coded, needs finalising and extracting.
This commit is contained in:
Dan Brown
2023-10-18 12:39:57 +01:00
parent a868012048
commit c1b01639c1
4 changed files with 157 additions and 1 deletions

View File

@ -234,6 +234,8 @@ Route::middleware('auth')->group(function () {
// User Account
Route::get('/my-account', [UserControllers\UserAccountController::class, 'index']);
Route::get('/my-account/profile', [UserControllers\UserAccountController::class, 'showProfile']);
Route::put('/my-account/profile', [UserControllers\UserAccountController::class, 'updateProfile']);
Route::get('/my-account/shortcuts', [UserControllers\UserAccountController::class, 'showShortcuts']);
Route::put('/my-account/shortcuts', [UserControllers\UserAccountController::class, 'updateShortcuts']);
Route::get('/my-account/notifications', [UserControllers\UserAccountController::class, 'showNotifications']);