Permalink
Browse files

fixed leased? function

  • Loading branch information...
1 parent 8aa7e5a commit 86ee7cbc74d07ef4c9f4ac1c0330a43bdf64c9cd @malomalo malomalo committed Jan 23, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/mls/models/listing.rb
  2. +1 −1 mls.gemspec
@@ -86,7 +86,7 @@ def coworking?
end
def leased?
- !leased_on.nil?
+ state == 'leased'
end
def space_name
View
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
Gem::Specification.new do |s|
s.name = "mls"
- s.version = '0.2.23'
+ s.version = '0.2.24'
s.authors = ["James R. Bracy", "Jon Bracy"]
s.email = ["james@42floors.com"]
s.homepage = "http://mls.42floors.com"

0 comments on commit 86ee7cb

Please sign in to comment.