lib/carte/client/models/card.coffee in carte-server-0.0.25 vs lib/carte/client/models/card.coffee in carte-server-0.0.26

- old
+ new

@@ -8,14 +8,11 @@ isNew: ()-> @_isNew url: ()-> if @isNew() - console.log @ - console.log 'url is new' url = '/cards.json' else - console.log 'url is not new' url = '/cards/' + encodeURIComponent(@get('title')) + '.json' config.root_path + config.api_path + url parse: (response)-> if response.card then response.card else response