@wycats Startin to learn Ember & im really hung up on why for routes w/ dynamic segmnts, model hook is not called when using linkTo? Thanks!
@antigabe The model hook takes a URL and turns it into a model. If you give it a model, bada bing you're done.
-
-
@wycats so I can pass as the 2nd param to linkTo a full object and that becomes my model? In practice the 2nd param became the dyn seg. -
@antigabe it becomes your model. If it has an 'id' property that becomes the seg. Otherwise need to implement serialize on route. -
@wycats Starting to understand more & more of Ember. I appreciate your help in learning. I might be asking more questions. Hope that is ok! -
@antigabe go for it :)
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.