I have a model that looks like:
App.Talk = DS.Model.extend({
title: attr("string"),
body: attr("string"),
comments: DS.hasMany("talkComment", { async: true })
});
When calling .save() on the model, the url that the POST is send to looks like http://localhost:3000/api/talkComments"
.
Is it possible to switch it to using something like api/talk/comments
or am I stuck with talkComments
.
Not a huge deal, just a little OCD taking over
Thanks.