mercredi 19 juin 2019

How to get a nested routeName in the Parents route or controller in Ember JS

I have a nested route and I want to do something on that route. To do that I need to determine when I am on that route.

I'd like to do this from the Parents route or controller. I have tried using

routeName
fullRouteName

in the Parent route but these only return the Parents route name.

Is there a way to get a Child routes name in the Parent route?




Aucun commentaire:

Enregistrer un commentaire