I have my custom Ember component which is inside a controller.
Now I am trying to get the current route name dynamically
So I get access to the controller using
this.get('parentView')
But I am unable to get the current route name after this. How do I get the current route name ? I tried doing
this.get('parentView').routeName
Aucun commentaire:
Enregistrer un commentaire