Skip to content

Commit 7075bd5

Browse files
NullVoxPopulikategengler
authored andcommitted
Update specifying-a-routes-model.md
1 parent 5b1c0a3 commit 7075bd5

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

guides/release/routing/specifying-a-routes-model.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,9 @@ Let's compare some examples using the model hook to make asynchronous HTTP reque
7070
### Fetch example
7171

7272
First, here's an example using a core browser API called [`fetch`](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API), which returns a Promise.
73-
Install [`ember-fetch`](https://github.com/ember-cli/ember-fetch) with the command `ember install ember-fetch`, if it is not already in the app's `package.json`.
74-
Older browsers may not have `fetch`, but the `ember-fetch` library includes a polyfill, so we don't have to worry about backwards compatibility!
7573

7674
```javascript {data-filename=app/routes/photos.js}
7775
import Route from '@ember/routing/route';
78-
import fetch from 'fetch';
7976

8077
export default class PhotosRoute extends Route {
8178
async model() {

0 commit comments

Comments
 (0)