app/models/medivo/lab.rb in medivo-0.0.2 vs app/models/medivo/lab.rb in medivo-0.0.3
- old
+ new
@@ -15,10 +15,10 @@
end
def self.data_for_zip(zip='')
zip = zip.to_s.match(/(\d{5})/) ? $1 : nil
return {} unless zip and zip_info = ZipCode.find_by_zip_code(zip)
- labs = findLabs(zip)[0..1]
+ labs = findLabs(zip)
{:labs => labs, :zip_location => zip_info.center_info}
end
def lab_name
LAB_ID_TO_PRETTY_NAME[lab_id]
\ No newline at end of file