I would like to override the function 'normalizeModelName' to prevent normalizing (dasherizing) of the model name and instead use the original name.
The page http://ift.tt/2cvZ2KD suggests that this should be possible to change the function but i'm not able to do so.
Simply assigning a new function to DS.normalizeModelName is returning an error: Cannot assign to read only property 'normalizeModelName' of object '[object Object]'.
How could I prevent normalizing the internal model name?
Aucun commentaire:
Enregistrer un commentaire