Simply create a new Collection with the url of your resource endpoint: var Books = Backbone.Collection.extend({ url: '/books' });. The Collection and Model ...
確定! 回上一頁