app/views/addresses/_address.html.haml in artfully_ose-1.1.0 vs app/views/addresses/_address.html.haml in artfully_ose-1.2.0.alpha.1
- old
+ new
@@ -1,6 +1,7 @@
-%address
- = address.address
- %br
- = "#{address.city} #{address.state} #{address.zip}"
- %br
- = address.country
+- unless address.nil?
+ %address
+ = address.address
+ %br
+ = "#{address.city} #{address.state} #{address.zip}"
+ %br
+ = address.country