I’m transitioning from myroute.show (/myroute/1)
to myroute.index (/myroute)
Why does the model
hook of the index route get triggered first, before the deactivate
hook of the show route?
Is this intended behavior?
I’m transitioning from myroute.show (/myroute/1)
to myroute.index (/myroute)
Why does the model
hook of the index route get triggered first, before the deactivate
hook of the show route?
Is this intended behavior?