Changing path for ember-data requests


#1

Hi. Let’s say I have a person model. Normally to add a person to database I would do person.save(). This will do a POST request to /persons.

What I want is to change the POST path to /persons/invite. How can I do this? Thanks.


#2

override you person adapter’s urlForCreateRecord


#3

Thanks. It was quick.