From 2319197b81a61c1eb1feeb437a003458d904b1d2 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Mon, 20 May 2019 02:15:00 -0500 Subject: [PATCH] clean commit --- app/Http/Controllers/Dashboard/AdminController.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/Dashboard/AdminController.php b/app/Http/Controllers/Dashboard/AdminController.php index 248a3648a..e552d3314 100644 --- a/app/Http/Controllers/Dashboard/AdminController.php +++ b/app/Http/Controllers/Dashboard/AdminController.php @@ -84,8 +84,9 @@ class AdminController extends Controller /** * For each user we want to build their name and permission set into one array * Having all of the data in one array will allow us to build the table for the admin page more fluently. - * Example: userArrs[0]['name'] = Minerva Arbosa - * userArrs[0]['permissions'] = ['admin', 'contract.admin', superuser] + * Example: userArr[0]['name'] = Minerva Arbosa + * userArr[0]['role'] = W4RP + * userArr[0]['permissions'] = ['admin', 'contract.admin', superuser] */ $usersTable = User::orderBy('name', 'asc')->get()->toArray(); foreach($usersTable as $user) {