/** * Show the application dashboard. * * @return \Illuminate\Http\Response */ public function index() { $properties = Property::sortByStreetAddress()->whereActive()->get(); return view('property.index', compact('properties')); }