vendor/assets/javascripts/pullentity-backbone/app/models/site.js.coffee in pullentity-backbone-0.0.3 vs vendor/assets/javascripts/pullentity-backbone/app/models/site.js.coffee in pullentity-backbone-0.0.4
- old
+ new
@@ -1,7 +1,7 @@
class Pullentity.Models.Site extends Backbone.Model
url : ()->
if @id
- "#{Pullentity.Domain}.#{Pullentity.host}/api/v1/site"
+ "#{Pullentity.Domain}/api/v1/site"
else
- "#{Pullentity.Domain}.#{Pullentity.host}/api/v1/sites"
+ "#{Pullentity.Domain}/api/v1/sites"