lib/carte/client/models/cards.coffee in carte-server-0.0.14 vs lib/carte/client/models/cards.coffee in carte-server-0.0.15

- old
+ new

@@ -5,13 +5,11 @@ module.exports = class Cards extends Backbone.Collection model: CardModel query: {} url: ()-> - url = '/api/cards.json?' + $.param(@query) - if config.api_path - url = config.api_path + url - url + url = '/cards.json?' + $.param(@query) + config.root_path + config.api_path + url parse: (response)-> console.log response @page = response.page console.log @page response.cards