diff --git a/skolehjem/app/Http/Controllers/UserController.php b/skolehjem/app/Http/Controllers/UserController.php index 2ce43fa..afa8d8b 100644 --- a/skolehjem/app/Http/Controllers/UserController.php +++ b/skolehjem/app/Http/Controllers/UserController.php @@ -60,6 +60,7 @@ class UserController extends Controller public function accountedit(Request $request) { $users = User::query()->paginate($request->query("page", 20)); + return Response::detect("users.edit", [ "users" => $users ]); }