Skip to content

Commit

Permalink
ajax feature was removed; remove from fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaurav0 committed Nov 4, 2024
1 parent faa3131 commit 487e447
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/fixtures/dummy/app/routes/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import Route from '@ember/routing/route';
import { hash } from 'rsvp';
import fetch, { Request } from 'fetch';
import ajax from 'ember-fetch/ajax';

export default Route.extend({
model: function () {
Expand All @@ -12,7 +11,6 @@ export default Route.extend({
request: fetch(new Request('/omg.json')).then(function (request) {
return request.json();
}),
ajax: ajax('/omg.json'),
});
},
});

0 comments on commit 487e447

Please sign in to comment.