In RC1 how can I get the currentstatename or current route name globally?
More specific, alternate syntax of : App.get('router').currentState.name;
Have a look at the answer to this question: Ember App.Router.router.currentState undefined
Short answer: The current state is stores in the ApplicationController under the name "currentPath".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With