Changing path for ember-data requests

Hi. Let’s say I have a person model. Normally to add a person to database I would do 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.

override you person adapter’s urlForCreateRecord

Thanks. It was quick.