route.js file, I use the
activate() method to initiate something.
In the template associated with this route, I have an input that makes it possible to navigate to the same route but with a different object ID.
router.transitionTo like so
get(this, 'router').transitionTo('route', objectId);
But this transition does not trigger the
Now the doc says
This hook is executed when the router enters the route. It is not executed when the model for the route changes.
I guess this is why it’s not working (I am staying on the same route, simply using a new model).
Is there a way around this? How can I make sure that the
activate() method gets call in my use case?