Reputation: 139
Is there a property or variable that can keep track of the current route?
Or is there a way to know which route I'm on? Thanks in advance.
Upvotes: 1
Views: 53
Reputation: 9406
In any route you can use : this.controllerFor('application').get('currentRouteName');
Upvotes: 2