I found out that to use multiple dynamic segment in route, you need to pass model data to the #link-to helpers
But pass model to #link-to helpers cause model to not reloaded after it enter once, and vice versa, you can always relaod model if you pass the item id to #link-to, but this will cause multiple dynamic segment not work, since it require the model
How to solve this?
Aucun commentaire:
Enregistrer un commentaire