Skip to content
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

Ensure currentRouteName and currentPath are always set. #12034

Merged

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Aug 10, 2015

Previously, the currentRouteName and currentPath were only set if controller:application existed. This ensures that the props on the router itself are set (just not the ones on controller:application when it isn't setup yet).

Also, add currentPath to service:-routing.

Previously, the `currentRouteName` and `currentPath` were only set if
`controller:application` existed. This ensures that the props on the
router itself are set (just not the ones on `controller:application`
when it isn't setup yet).

Also, add `currentPath` to `service:-routing`.
rwjblue added a commit that referenced this pull request Aug 11, 2015
…-service

Ensure currentRouteName and currentPath are always set.
@rwjblue rwjblue merged commit 1bd0e85 into emberjs:master Aug 11, 2015
@rwjblue rwjblue deleted the expose-current-path-on-routing-service branch August 11, 2015 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant