Skip to content
This repository has been archived by the owner on May 11, 2018. It is now read-only.

Add namespace for resource URL #19

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

Add namespace for resource URL #19

tshi0912 opened this issue Jun 2, 2013 · 0 comments

Comments

@tshi0912
Copy link

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant