/**
  * Show the form for creating a new resource.
  *
  * @return Response
  */
 public function gastronomy(Request $request)
 {
     $property_id = $request->input('property_id');
     $properties = Property::select('id', 'name', 'image', 'status', 'num_bedrooms', 'description', 'slogan', 'country_id', 'service_id', 'state_id', 'city_id', 'property_type_id', 'user_id')->with('country')->with('service')->with('state')->with('city')->with('property_type')->with('user')->orderBy('name', 'ASC')->get();
     $chef = Gastronomy::select('nombre', 'apellidos', 'acerca', 'docencia', 'image')->where('property_id', '=', $property_id)->get();
     $files = File::select('menu', 'drinks')->where('property_id', '=', $property_id)->get();
     return view('gastronomy', compact('properties', 'property_id', 'chef', 'files'));
 }
 /**
  * Update the specified resource in storage.
  *
  * @param EditChefRequest $request
  * @return Response
  * @internal param int $id
  */
 public function update(EditChefRequest $request, $id)
 {
     $id_property = Gastronomy::findOrfail($id);
     $id_property->fill($request->all());
     $id_property->save();
     Session::flash('actualizado', 'update');
     return redirect()->route('admin.properties.chef.show');
 }