app/Http/Controllers/RentController.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()
    {
        $rent = Rent::all();
        return view('rent.index', compact('rent'));
    }
public function index ( ) { $ rent = Rent :: all ( ) ; return view ( 'rent.index' , compact ( 'rent' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .