Fixed blank screen on /#ticket/zoom/1 and not authenticated users.
This commit is contained in:
parent
1dd844aa6e
commit
e71b4f92b1
2 changed files with 21 additions and 1 deletions
|
@ -87,7 +87,7 @@ class App.Auth
|
||||||
App.Event.trigger('auth')
|
App.Event.trigger('auth')
|
||||||
App.Event.trigger('auth:logout')
|
App.Event.trigger('auth:logout')
|
||||||
App.Event.trigger('ui:rerender')
|
App.Event.trigger('ui:rerender')
|
||||||
|
App.TaskManager.tasksInitial()
|
||||||
return false
|
return false
|
||||||
|
|
||||||
# clear local store
|
# clear local store
|
||||||
|
|
|
@ -33,4 +33,24 @@ class AABBasicUrlsTest < TestCase
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def test_ticket
|
||||||
|
@browser = browser_instance
|
||||||
|
location(
|
||||||
|
url: "#{browser_url}/#ticket/zoom/1",
|
||||||
|
)
|
||||||
|
location_check(
|
||||||
|
url: "#{browser_url}/#login",
|
||||||
|
)
|
||||||
|
end
|
||||||
|
|
||||||
|
def test_not_existing
|
||||||
|
@browser = browser_instance
|
||||||
|
location(
|
||||||
|
url: "#{browser_url}/#not_existing",
|
||||||
|
)
|
||||||
|
location_check(
|
||||||
|
url: "#{browser_url}/#not_existing",
|
||||||
|
)
|
||||||
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue