diff --git a/assets/scripts/app/routes.coffee b/assets/scripts/app/routes.coffee index 8589a8bd..12049b2d 100644 --- a/assets/scripts/app/routes.coffee +++ b/assets/scripts/app/routes.coffee @@ -23,19 +23,6 @@ Travis.Route = Ember.Route.extend signedIn: -> @controllerFor('currentUser').get('content') - redirect: -> - @auth.autoSignIn() unless @signedIn() - - if @get('needsAuth') - @authorize(@router.location.getURL()) - else - @_super.apply this, arguments - - authorize: (path) -> - if !@signedIn() - @auth.storeAfterSignInPath(path) - @transitionTo('auth') - Travis.ApplicationRoute = Travis.Route.extend init: -> @_super.apply this, arguments