mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-12 08:41:46 -05:00
Merge branch 'master' into production
This commit is contained in:
commit
53aa6652a0
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ module.exports = class CoursesView extends RootView
|
||||||
@listenToOnce @courseInstances, 'sync', @onCourseInstancesLoaded
|
@listenToOnce @courseInstances, 'sync', @onCourseInstancesLoaded
|
||||||
@supermodel.loadCollection(@courseInstances)
|
@supermodel.loadCollection(@courseInstances)
|
||||||
@classrooms = new CocoCollection([], { url: "/db/classroom", model: Classroom })
|
@classrooms = new CocoCollection([], { url: "/db/classroom", model: Classroom })
|
||||||
@supermodel.loadCollection(@classrooms, { data: {memberID: me.id} })
|
@supermodel.loadCollection(@classrooms, { data: {memberID: me.id}, cache: false })
|
||||||
@ownedClassrooms = new Classrooms()
|
@ownedClassrooms = new Classrooms()
|
||||||
@ownedClassrooms.fetchMine({data: {project: '_id'}})
|
@ownedClassrooms.fetchMine({data: {project: '_id'}})
|
||||||
@supermodel.trackCollection(@ownedClassrooms)
|
@supermodel.trackCollection(@ownedClassrooms)
|
||||||
|
|
Loading…
Reference in a new issue