Commit 73e83fda authored by Renfred Harper's avatar Renfred Harper
Browse files

Fix program model

parent 7d48bd6e
......@@ -4,10 +4,10 @@ advisor.Program = Backbone.RelationalModel.extend({
relations: [{
type: Backbone.HasMany,
key: 'requirements',
relatedModel: 'advisor.Requirements',
relatedModel: 'advisor.Requirement',
collectionType: 'RequirementCollection',
reverseRelation: {
key: 'satisfies',
key: 'program',
includeInJSON: 'id'
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