modelNamespace
Closed this issue · 1 comments
fsmanuel commented
modelNamespace: function(type) {
return type.url || type.toString();
}
Maybe i got it wrong but type.toString() will always return: (subclass of DS.Model)
.
Changing type
to type.typeKey
should fix it. Should I submit a PR?
kurko commented
Yes, please! This seems like a recent change in ED. —
Sent from Mailbox for iPhone
On Fri, Mar 7, 2014 at 4:33 PM, Manuel Wiedenmann
notifications@github.com wrote:
modelNamespace: function(type) { return type.url || type.toString(); }Maybe i got it wrong but type.toString() will always return:
(subclass of DS.Model)
.Changing
type
totype.typeKey
should fix it. Should I submit a PR?Reply to this email directly or view it on GitHub:
#47