         @transitionTo('index')
 
     afterSignOut: ->
-      @transitionTo('index')
+      if Travis.config.pro
+        @transitionTo('auth')
+      else
+        @transitionTo('index')
 
 Travis.Router.map ->
   @resource 'index', path: '/', ->

    @render 'user'

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


  signedIn: ->
    @controllerFor('currentUser').get('content')

  needsAuth: (->
    # on pro, we need to auth on every route
    Travis.config.pro
  ).property()

Travis.ApplicationRoute = Travis.Route.extend
  needsAuth: false

  renderTemplate: ->
    if Travis.config.pro
      $('body').addClass('pro')

    @_super.apply(this, arguments)

  actions:
    redirectToGettingStarted: ->
      # do nothing, we handle it only in index path
