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