#4-public-user-profile
This commit is contained in:
@@ -17,7 +17,7 @@ class UserController extends Controller
|
||||
{
|
||||
$users = User::query()
|
||||
->orderBy('name')
|
||||
->paginate(10, ['id', 'name', 'email', 'created_at']);
|
||||
->paginate(10, ['id', 'name', 'username', 'email', 'created_at']);
|
||||
|
||||
return view('user.index', [
|
||||
'users' => $users,
|
||||
|
||||
Reference in New Issue
Block a user