app/helpers/agilibox/link_helper.rb in agilibox-1.0.9 vs app/helpers/agilibox/link_helper.rb in agilibox-1.0.10
- old
+ new
@@ -32,10 +32,10 @@
end
def tel_link(text, opts = {})
return if text.to_s.blank?
- value = text.gsub(" ", "")
+ value = text.delete(" ")
href = "tel:#{value}"
link_to(text, href, opts)
end