lib/mls/models/listing.rb in mls-0.2.23 vs lib/mls/models/listing.rb in mls-0.2.24
- old
+ new
@@ -84,10 +84,10 @@
def coworking?
type == 'coworking_space'
end
def leased?
- !leased_on.nil?
+ state == 'leased'
end
def space_name
return name if !name.nil?