Closed artsyca closed 9 years ago
You can actually configure torii via your project's config/environment.js
file now and don't need to assign to window.ENV
anymore.
Thank you for the pointer and my apologies. This is indeed working as you describe.
I'm setting up torii and it seems that it requires a specific
window.ENV
variable to exist. In environment.js we are only able to accesswindow.EmberEnv
so currently I have an initializer in place that looks like:(this is also mentioned in https://github.com/Vestorly/torii/issues/59)
Is there a better way to do this?