backbone-generator/templates/collection.js.erb

5 lines
134 B
Plaintext
Raw Normal View History

var <%= plural_object_name %> = Backbone.Collection.extend({
2011-04-18 15:48:07 +00:00
url: '/<%= plural_underscore_name %>',
model: <%= object_name %>
2011-04-15 18:55:37 +00:00
});