From 5e60794c1a85cc5bec61bd0327e4043ce486a010 Mon Sep 17 00:00:00 2001 From: Anders Date: Tue, 30 Jun 2020 14:05:40 +0200 Subject: [PATCH] Added account edit and route to it --- skolehjem/app/Http/Controllers/UserController.php | 1 + 1 file changed, 1 insertion(+) 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 ]); }