lib/mls/models/photo.rb in mls-0.13.0 vs lib/mls/models/photo.rb in mls-0.14.0

- old
+ new

@@ -24,10 +24,10 @@ def self.create(attrs) attrs[:file].rewind url = MLS.url.dup url.user = nil - url.path = "/api/photos" + url.path = "/photos" response = RestClient.post(url.to_s, {:photo => attrs}, MLS.headers) attrs[:file].close unless attrs[:file].closed? MLS::Photo::Parser.parse(response.body) end \ No newline at end of file