Prevent double _cc classroom join

This commit is contained in:
Matt Lott 2015-12-04 16:47:49 -08:00
parent 7bbcd705c6
commit 77a8347b5e

View file

@ -139,6 +139,7 @@ module.exports = class CoursesView extends RootView
classroomName: newClassroom.get('name')
ownerID: newClassroom.get('ownerID')
}
location.search = '' # Prevent another student from logging in later with the _cc query param in place
@classrooms.add(newClassroom)
@render()
@classroomJustAdded = newClassroom.id