Fix redirect from auth page

This commit is contained in:
Piotr Sarnacki 2015-01-19 12:23:59 +01:00
parent d77ca0600c
commit 131025f999

View File

@ -455,12 +455,12 @@ Travis.AuthRoute = Travis.Route.extend
actions:
afterSignIn: ->
@transitionTo('index')
@transitionTo('main')
return true
redirect: ->
if @signedIn()
@transitionTo('index')
@transitionTo('main')
Travis.SettingsRoute = Travis.Route.extend
needsAuth: true