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

Expose router.transitionTo as a public method #12938

Merged
merged 1 commit into from
Feb 10, 2016

Conversation

asakusuma
Copy link
Contributor

route.transitionTo is public, and it's pretty much just a proxy to router.transitionTo: https://github.com/emberjs/ember.js/blob/master/packages/ember-routing/lib/system/route.js#L1027

This would be useful if a service wants to execute a transition.

@rwjblue
Copy link
Member

rwjblue commented Feb 9, 2016

I agree (I wanted this from a service also).

rwjblue added a commit that referenced this pull request Feb 10, 2016
Expose router.transitionTo as a public method
@rwjblue rwjblue merged commit 2397551 into emberjs:master Feb 10, 2016
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.

2 participants