references across core templates AND the plugin submodule | (Copilot, StrategyPro, PgmPro, Whiteboardscanvas, Llamadorian) hardcode | /api/users?profileImage= and cannot be rewritten from this repo. Both paths are | served directly (no redirect) to avoid an avatar redirect-storm on list views. | */ // Canonical Route::get('/users/profileImage/{id?}', [ProfileImage::class, 'show'])->name('users.profileImage'); Route::post('/users/profileImage', [ProfileImage::class, 'upload']); // Backward-compat alias for the retired /api/users endpoint Route::get('/api/users', [ProfileImage::class, 'show'])->name('users.profileImage.legacy'); Route::post('/api/users', [ProfileImage::class, 'upload']);