MCPcopy Create free account
hub / github.com/codecombat/codecombat / 'teachers/classes'

Method 'teachers/classes'

app/core/Router.js:493–499  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

491 }
492 },
493 'teachers/classes' () {
494 if (me.showChinaResourceInfo() && !me.isNewDashboardActive()) {
495 return this.routeDirectly('courses/TeacherClassesView', [], { redirectStudents: true, teachersOnly: true })
496 } else {
497 return this.routeDirectly('core/SingletonAppVueComponentView', arguments, { redirectStudents: true, teachersOnly: true })
498 }
499 },
500 'teachers/projects/:classroomId': go('core/SingletonAppVueComponentView'),
501 'teachers/assessments/:classroomId': go('core/SingletonAppVueComponentView'),
502 'teachers/ai-junior/:classroomId': go('core/SingletonAppVueComponentView'),

Callers

nothing calls this directly

Calls 3

routeDirectlyMethod · 0.95
showChinaResourceInfoMethod · 0.80
isNewDashboardActiveMethod · 0.80

Tested by

no test coverage detected