minor updates

This commit is contained in:
2018-12-15 02:18:09 -06:00
parent 7b37936b41
commit 48ce4efd23

View File

@@ -19,7 +19,7 @@ class AdminController extends Controller
public function displayDashboard() {
//Get the users from the database to allow a selection of users for
//adding and removing roles and permissions
$users = User::orderBy('name')->all('name');
$users = User::pluck('name')->orderBy('name');
return view('admin.dashboard')->with('users', $users);
}