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