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

Function go

app/core/Router.js:19–19  ·  view source on GitHub ↗
(path, options)

Source from the content-addressed store, hash-verified

17const globalVar = require('core/globalVar')
18
19const go = (path, options) => function () { return this.routeDirectly(path, arguments, options) }
20
21// This can be wrapped around existing route functions,
22// to restrict the new teacher dashboard only for admins (using flag newTeacherDashboardActive)

Callers 4

teacherProxyRouteFunction · 0.85
initClassMethod · 0.85
homeMethod · 0.85
routeDirectlyMethod · 0.85

Calls 1

routeDirectlyMethod · 0.80

Tested by

no test coverage detected