make sure we go through the auth check after signout
This commit is contained in:
parent
4689545547
commit
44d81af450
|
@ -138,7 +138,7 @@ Travis.Router = Ember.Router.extend
|
|||
|
||||
reload: ->
|
||||
url = @get('location').getURL()
|
||||
@transitionTo 'loading'
|
||||
@transitionTo('loading')
|
||||
@route(url)
|
||||
|
||||
signedIn: ->
|
||||
|
@ -154,7 +154,7 @@ Travis.Router = Ember.Router.extend
|
|||
@route(after_signin_path || '/')
|
||||
|
||||
afterSignOut: ->
|
||||
@route('/')
|
||||
@transitionTo('loading')
|
||||
|
||||
loading: Ember.Route.extend
|
||||
routePath: (router, path) ->
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
db55d72d
|
||||
b35f89d1
|
Loading…
Reference in New Issue
Block a user