Skip to content

Commit

Permalink
Fix appFiles names
Browse files Browse the repository at this point in the history
  • Loading branch information
kratiahuja committed May 27, 2017
1 parent a2677c3 commit f7d836b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions markdown/docs/user-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -422,13 +422,13 @@ For example, here's an Ember route that uses `fetch()` to access the GitHub JSON

```javascript
import Route from 'ember-route';
import fetch from 'ember-fetch/fetch';
import fetch from 'ember-fetch/ajax';

export default Route.extend({
model() {
return fetch('https://api.github.com/users/tomdale/events')
.then(function(response) {
return response.json();
return response;
});
}
});
Expand Down Expand Up @@ -748,7 +748,7 @@ The server offers an [Express middleware][express] that can be integrated into a

```javascript
var server = new FastBootServer({
appFiles: [appFile, appFile-fastboot],
appFiles: [appFile, appFastBootFile],
vendorFiles: [vendorFile],
htmlFile: htmlFile,
ui: ui
Expand Down
4 changes: 2 additions & 2 deletions markdown/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ Implement the model hook like I did below. You might want to change the username

```javascript
import Ember from 'ember';
import fetch from 'ember-fetch/fetch';
import fetch from 'ember-fetch/ajax';

export default Ember.Route.extend({
model() {
return fetch('https://api.github.com/users/tomdale')
.then(function(response) {
return response.json();
return response;
});
}
});
Expand Down

0 comments on commit f7d836b

Please sign in to comment.