public function index() { $customers = Customer::paginate(10); return $customers; }
/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { // $customers = Customer::paginate(15); return view('customers.index', compact('customers')); }