backbone-generator/templates/collection.js.erb

5 lines
121 B
Plaintext
Raw Normal View History

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