MCPcopy Create free account
hub / github.com/ember-learn/ember-api-docs / model

Method model

app/routes/class.js:12–20  ·  view source on GitHub ↗
(params)

Source from the content-addressed store, hash-verified

10 legacyModuleMappings;
11
12 model(params) {
13 let ret = {
14 mappings: this.legacyModuleMappings.buildMappings(
15 this.legacyModuleMappings.legacyMappings,
16 ),
17 className: params['class'].substr(0, params['class'].lastIndexOf('.')),
18 };
19 return ret;
20 }
21
22 redirect(model) {
23 let mappedInfo = this.legacyModuleMappings.getNewClassFromOld(

Callers

nothing calls this directly

Calls 1

buildMappingsMethod · 0.80

Tested by

no test coverage detected