mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 01:54:04 +08:00
bc68da24cd
The legacy testing environment will remove the User.current() value before disposing of controllers/components. Presence often involves making HTTP calls during disposal of components, so this can cause issues. Production, and the modern Ember-CLI environment, do not require this hack, so it is behind an `isTesting() && isLegacyEmber()` check. |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |