backbone-generator/templates/collection.js.erb

5 lines
131 B
Plaintext
Raw Normal View History

2011-04-15 19:02:36 +00:00
var <%= object_name %>sCollection = Backbone.Collection.extend({
url: '/<%= underscore_name %>',
model: <%= object_name %>
2011-04-15 18:55:37 +00:00
});