Initialize application in Ember.next, fixes auth
This commit is contained in:
parent
24d98eb66a
commit
404dde1cdf
|
@ -37,6 +37,7 @@ require 'ext/ember/namespace'
|
|||
run: (attrs) ->
|
||||
location.href = location.href.replace('#!/', '') if location.hash.slice(0, 2) == '#!'
|
||||
|
||||
Ember.run.next this, ->
|
||||
app = Travis.App.create(attrs || {})
|
||||
# TODO: router expects the classes for controllers on main namespace, so
|
||||
# if we want to keep app at Travis.app, we need to copy that, it would
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
bb4e051b
|
||||
19b5fc63
|
Loading…
Reference in New Issue
Block a user