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

Method afterModel

app/routes/application.js:53–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51 storeShoebox = () => {
52 this.shoebox.store();
53 };
54
55 trackPage = () => {
56 // this is constant for this app and is only used to identify page views in the GA dashboard
57 const hostname = ENV.APP.domain.replace(/(http|https)?:?\/\//g, '');
58
59 const page = this.router.currentURL;

Callers

nothing calls this directly

Calls 1

initMappingsMethod · 0.80

Tested by

no test coverage detected