MCPcopy Index your code
hub / github.com/codecombat/codecombat / onClassLoadError

Method onClassLoadError

app/views/courses/CoursesView.js:667–669  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

665
666 // Super hacky way to patch users being able to join class while hiding /students from others
667 onClassLoadError () {
668 return _.defer(() => application.router.routeDirectly('courses/RestrictedToStudentsView'))
669 }
670
671 onJoinClassroomError (classroom, jqxhr, options) {
672 this.state = null

Callers 2

afterInsertMethod · 0.95
joinClassMethod · 0.95

Calls 1

routeDirectlyMethod · 0.80

Tested by

no test coverage detected