Skip to content

Commit

Permalink
Export BuildURLMixin as a DS global for documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Amiel Martin committed Feb 27, 2015
1 parent 6835936 commit 774bb10
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/ember-data/lib/adapters/rest_adapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ import BuildURLMixin from "ember-data/adapters/build_url_mixin";
@constructor
@namespace DS
@extends DS.Adapter
@uses DS.BuildURLMixin
*/
export default Adapter.extend(BuildURLMixin, {
defaultSerializer: '-rest',
Expand Down
2 changes: 2 additions & 0 deletions packages/ember-data/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ import {
RESTAdapter,
FixtureAdapter
} from "ember-data/adapters";
import BuildURLMixin from "emmber-data/adapters/build_url_mixin";
import JSONSerializer from "ember-data/serializers/json_serializer";
import RESTSerializer from "ember-data/serializers/rest_serializer";
import "ember-inflector";
Expand Down Expand Up @@ -102,6 +103,7 @@ DS.ManyArray = ManyArray;
DS.RecordArrayManager = RecordArrayManager;

DS.RESTAdapter = RESTAdapter;
DS.BuildURLMixin = BuildURLMixin;
DS.FixtureAdapter = FixtureAdapter;

DS.RESTSerializer = RESTSerializer;
Expand Down

0 comments on commit 774bb10

Please sign in to comment.