/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $list_user = User::with('roles')->paginate(\Config::get('custom.items_per_page')); return view('admin.user.user', compact('list_user')); }
/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $list_user = User::with('roles')->get(); return view('admin.user.user', compact('list_user')); }