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

Method model

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

buildMappingsMethod · 0.80

Tested by

no test coverage detected