mardi 3 février 2015

How to acces the model of a child Route from an application level Component?

I have a component that is being rendered in the application template (its use-case being a menu/control-panel).


I have a child resource (i.e. 'document') with different subroutes, each with their respective models ('new', 'edit', 'index').


I need the menu component to be able to check if there are any unsaved changes in the child routes before transitioning to another route.


Is it possible for an application-level component to access child route model data?





Aucun commentaire:

Enregistrer un commentaire