Commit 7856db1e by David Baumgold

Provide correct path to Chapter model

parent dc5123c8
...@@ -10,7 +10,7 @@ CMS.Models.Textbook = Backbone.AssociatedModel.extend({ ...@@ -10,7 +10,7 @@ CMS.Models.Textbook = Backbone.AssociatedModel.extend({
relations: [{ relations: [{
type: Backbone.Many, type: Backbone.Many,
key: "chapters", key: "chapters",
relatedModel: "CMS.Models.EditChapter", relatedModel: "CMS.Models.Chapter",
collectionType: "CMS.Collections.ChapterSet" collectionType: "CMS.Collections.ChapterSet"
}], }],
isEmpty: function() { isEmpty: function() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment