/** * Display a listing of the resource. * * @return Response */ public function index() { $agents = Agent::latest()->get(); return view('admin.agents.index', compact('agents')); }