I've been trying to do routing in Ember using something other than id
. This is how I implemted a dasherized version of a post's title. I get the feeling that instead of the deserialize
function I should be overwrite the model
function as the guides suggest, but then I lose the symmetry I have with the serialize
function.
If there's a better/more ember way, I'd love to know.
Thanks @darthdeus for teaching me about DS.LoadPromise