Add Aspect model and collection to backbone
This commit is contained in:
parent
4fc8b52c70
commit
ae1317dbc0
2 changed files with 5 additions and 0 deletions
3
app/assets/javascripts/app/collections/aspects.js
Normal file
3
app/assets/javascripts/app/collections/aspects.js
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
app.collections.Aspects = Backbone.Collection.extend({
|
||||||
|
model: app.models.Aspect
|
||||||
|
})
|
||||||
2
app/assets/javascripts/app/models/aspect.js
Normal file
2
app/assets/javascripts/app/models/aspect.js
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
app.models.Aspect = Backbone.Model.extend({
|
||||||
|
});
|
||||||
Loading…
Reference in a new issue