emberjs/data — pull request #49 by ghempton (2012-01-17 23:54:13+00:00)
Title: Rest adapter urls should not be required to match the json structure.

For instance:

Person.reopenClass({
url: 'api/v2/person'
});

Would force the returned json to be of the structure:

'api/v2/person': ...

Whereas it will most likely be:

'person': ...

This commit allows the url and jsonKey to be specified separately.