Skip to content

Commit

Permalink
fix: updated to reflect current Ember standards (#1591)
Browse files Browse the repository at this point in the history
  • Loading branch information
francispeixoto committed Sep 20, 2021
1 parent 504f090 commit aa8ef98
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions tests/dummy/app/pods/docs/getting-started/quickstart/template.md
Expand Up @@ -49,17 +49,20 @@ _Note:_ This is usually implemented with custom business logic - such as read it

```js
// app/routes/application.js
import { inject as service } from '@ember/service';
import Route from '@ember/routing/route';
import { inject as service } from '@ember/service';

export default Route.extend({
intl: service(),
beforeModel() {
this._super(...arguments);

this.intl.setLocale(['en-us']);
}
});
export default class ApplicationRoute extends Route {
@service intl;

beforeModel() {
this.intl.setLocale(['en-us']);
}

model() {
// ...
}
}
```

**Configure your template linter**
Expand Down

0 comments on commit aa8ef98

Please sign in to comment.