Skip to content

Instantly share code, notes, and snippets.

@janmisek
Last active August 29, 2015 14:21
Show Gist options
  • Save janmisek/e88c33dade3773b2b352 to your computer and use it in GitHub Desktop.
Save janmisek/e88c33dade3773b2b352 to your computer and use it in GitHub Desktop.
Ember current route name when transitioning
if (this.get('router.router.activeTransition.targetName') === 'credentials.signin') {
return Ember.RSVP.resolve();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment