app/models/address_attribute.rb in e9_crm-0.1.5 vs app/models/address_attribute.rb in e9_crm-0.1.6
- old
+ new
@@ -1,4 +1,7 @@
# Attribute for address info
#
class AddressAttribute < RecordAttribute
+ def to_html
+ to_s.gsub(/\n/, '<br />').html_safe
+ end
end