Sha256: 40d722cd4d17c4db845f89fed702243e4c11c0f27aa350ccc4fc9b20e9bff99f
Contents?: true
Size: 404 Bytes
Versions: 1
Compression:
Stored size: 404 Bytes
Contents
class <%= model_namespace %> extends Backbone.Model paramRoot: '<%= singular_table_name %>' urlRoot: '/pbw/areas?_type=<%= class_name%>' defaults: name: null _type: '<%= class_name%>' <% attributes.each do |attribute| -%> <%= attribute.name %>: null <% end -%> class <%= collection_namespace %>Collection extends Backbone.Collection model: <%= model_namespace %> url: '/pbw/areas'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pbw-0.0.4 | lib/generators/pbw/area/templates/model.coffee |