     afterSignIn: ->
       @transitionTo('index')
       return true
+
+  redirect: ->
+    if @signedIn()
+      @transitionTo('index')
 
 Travis.SettingsRoute = Travis.Route.extend
   needsAuth: true

    @render 'user'

Travis.AuthRoute = Travis.Route.extend
  renderTemplate: ->
    $('body').attr('id', 'auth')


        @transitionTo('index')

    afterSignOut: ->
      if Travis.config.pro
        @transitionTo('auth')
      else
        @transitionTo('index')

Travis.Router.map ->
  @resource 'index', path: '/', ->
