No need to abort transition: rejecting will abort automatically

This commit is contained in:
Piotr Sarnacki 2014-01-07 21:15:19 +01:00
parent d569938687
commit c80a4e4160

View File

@ -59,7 +59,6 @@ Ember.Route.reopen
if !@signedIn() && @get('needsAuth')
Travis.auth.set('afterSignInTransition', transition)
transition.abort()
Ember.RSVP.reject("needs-auth")
else
@_super.apply(this, arguments)