backbone-generator/templates/collection.coffee.erb

5 lines
136 B
Plaintext

class window.<%= plural_object_name %> extends Backbone.Collection
url: '/<%= plural_underscore_name %>'
model: <%= object_name %>