/** * Display a listing of the resource. * * @return Response */ public function index() { $beds = Beds::all(); return \Illuminate\Support\Facades\View::make('adminipd.index', compact('beds')); }