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

Method model

app/routes/data-module.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 moduleName: params.module.substr(0, params.module.lastIndexOf('.')),
15 mappings: this.legacyModuleMappings.buildMappings(
16 this.legacyModuleMappings.legacyMappings,
17 ),
18 };
19 }
20
21 redirect(model) {
22 let { moduleName, mappings } = model;

Callers

nothing calls this directly

Calls 1

buildMappingsMethod · 0.80

Tested by

no test coverage detected