-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
accessing currentPath from application controller has been deprecated #973
Comments
@gokatz this is in ember_debug code, which needs to support back to Ember 2.7. We may need a conditional that checks the Ember version and uses different logic based on the version. If you wanted to try switching to the other implementation, it is possible it might work. I am away until June 3rd, and won't have a ton of time to look into this until then. |
Ya, the router service only works from 2.15+. I think the simplest fix is to update:
To use |
That's super fast. Thanks @rwwagner90 and @rwjblue 🍾 |
@gokatz we aim to please 😄 |
Is everything working well for you now? |
Yeah. Works perfectly. Thanks again! |
We tried to access
currentPath
here and these such access has been deprecated in 3.10. Can we use the router implementation instead ?The text was updated successfully, but these errors were encountered: