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

Add namespace for resource URL #19

@tshi0912

Description

@tshi0912

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();
...
...
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions