Fix redirect from auth page
This commit is contained in:
parent
d77ca0600c
commit
131025f999
|
@ -455,12 +455,12 @@ Travis.AuthRoute = Travis.Route.extend
|
||||||
|
|
||||||
actions:
|
actions:
|
||||||
afterSignIn: ->
|
afterSignIn: ->
|
||||||
@transitionTo('index')
|
@transitionTo('main')
|
||||||
return true
|
return true
|
||||||
|
|
||||||
redirect: ->
|
redirect: ->
|
||||||
if @signedIn()
|
if @signedIn()
|
||||||
@transitionTo('index')
|
@transitionTo('main')
|
||||||
|
|
||||||
Travis.SettingsRoute = Travis.Route.extend
|
Travis.SettingsRoute = Travis.Route.extend
|
||||||
needsAuth: true
|
needsAuth: true
|
||||||
|
|
Loading…
Reference in New Issue
Block a user