mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 03:57:10 +08:00

We were using multiple methods to check which environment we're running in. This commit switches us to use the isLegacyEmber helper consistently. This should be a no-op, but makes the code much easier to read