public function getEstimate($id)
 {
     $obj = HouseDesign::find($id);
     $obj->materials = json_decode($obj->materials);
     return View::make('partials.estimate.view')->with('dream', $obj);
 }
 public function getIndex()
 {
     $obj = HouseDesign::with('pictures')->where('dreamer_id', Auth::user()->id)->get();
     return View::make('dashboard.templates.' . Auth::user()->type . '.home')->with('dreams', $obj);
 }