Is there an equivalent function to grab the currentPath in the console with the new router in ember?
Before, I was able to do this:
App.router.get("currentPath")
However, it seems with the new router, you can't access the router in the same fashion. In fact App.router simply returns undefined.
Any help here would be greatly appreciated.
edit:
On a related note, because I can no longer access App.router
and its properties, I can't figure out how to manually trigger state changes. For example,
App.router.transitionTo("some.state")
is no longer viable. What is everyone doing instead of this now?