Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Add namespace for resource URL #19

Open
tshi0912 opened this Issue Jun 2, 2013 · 0 comments

Comments

Projects
None yet
1 participant

tshi0912 commented Jun 2, 2013

Currently, there is no option to specify the namespace for resource URL. People can reopen ResourceAdapter to add namespace:
Ember.ResourceAdapter.reopen({
ns: 'json/v1'
});
However Ember-REST still need to be changed to accept this namespace:

_resourceRequest: function(params) {
params.url = this.ns + this._resourceUrl();
...
...
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment