Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
advisor
Commits
73e83fda
Commit
73e83fda
authored
Mar 02, 2014
by
Renfred Harper
Browse files
Fix program model
parent
7d48bd6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
advisor/mainapp/static/js/advisor/models/program.js
View file @
73e83fda
...
...
@@ -4,10 +4,10 @@ advisor.Program = Backbone.RelationalModel.extend({
relations
:
[{
type
:
Backbone
.
HasMany
,
key
:
'
requirements
'
,
relatedModel
:
'
advisor.Requirement
s
'
,
relatedModel
:
'
advisor.Requirement
'
,
collectionType
:
'
RequirementCollection
'
,
reverseRelation
:
{
key
:
'
satisfies
'
,
key
:
'
program
'
,
includeInJSON
:
'
id
'
}
}]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment