/** * Display a listing of the resource. * * @return Response */ public function index() { $data['groups'] = Group::getGroupAndUserCount(); return view('group.index', $data); }