public function edit($id)
 {
     $imovel = Imovel::find($id);
     $imagens = imovelimagem::where('imovel_id', $id)->get();
     return view('imovel', compact('imovel', 'imagens'));
 }
 public function index(Imovel $imovel, $imovelId)
 {
     $obj = $imovel->find($imovelId)->{$imovel};
     //        dd($obj);
 }
 public function edit($id)
 {
     $imovel = Imovel::find($id);
     $caracteristicas = Caracteristica::lists('nome', 'id');
     return view('admin::admin.form', compact('imovel', 'caracteristicas'));
 }