From 7075bd51089db851eabbc392b22ea7b98adac2f2 Mon Sep 17 00:00:00 2001 From: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com> Date: Tue, 19 Nov 2024 11:49:48 -0500 Subject: [PATCH] Update specifying-a-routes-model.md --- guides/release/routing/specifying-a-routes-model.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/guides/release/routing/specifying-a-routes-model.md b/guides/release/routing/specifying-a-routes-model.md index 2f69753620..f5410b2bfe 100644 --- a/guides/release/routing/specifying-a-routes-model.md +++ b/guides/release/routing/specifying-a-routes-model.md @@ -70,12 +70,9 @@ Let's compare some examples using the model hook to make asynchronous HTTP reque ### Fetch example 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. -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`. -Older browsers may not have `fetch`, but the `ember-fetch` library includes a polyfill, so we don't have to worry about backwards compatibility! ```javascript {data-filename=app/routes/photos.js} import Route from '@ember/routing/route'; -import fetch from 'fetch'; export default class PhotosRoute extends Route { async model() {