Skip to content

Commit

Permalink
Merge pull request #3669 from greyhwndz/change-post-model-sample-in-r…
Browse files Browse the repository at this point in the history
…est-adapter

[DOC beta] Changed references to App.Person & App.Post in RESTAdapter API docs
  • Loading branch information
bmac committed Aug 18, 2015
2 parents f973fd4 + c5576aa commit c2d3715
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/ember-data/lib/adapters/rest-adapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ import BuildURLMixin from "ember-data/adapters/build-url-mixin";
namespace: 'api/1'
});
```
Requests for `App.Person` would now target `/api/1/people/1`.
Requests for the `Person` model would now target `/api/1/people/1`.
### Host customization
Expand Down Expand Up @@ -305,7 +305,7 @@ var RESTAdapter = Adapter.extend(BuildURLMixin, {
});
```
Requests for `App.Post` would now target `/api/1/post/`.
Requests for the `Post` model would now target `/api/1/post/`.
@property namespace
@type {String}
Expand All @@ -322,7 +322,7 @@ var RESTAdapter = Adapter.extend(BuildURLMixin, {
});
```
Requests for `App.Post` would now target `https://api.example.com/post/`.
Requests for the `Post` model would now target `https://api.example.com/post/`.
@property host
@type {String}
Expand Down

0 comments on commit c2d3715

Please sign in to comment.