mirror of
https://github.com/discourse/discourse.git
synced 2025-02-08 12:24:55 +00:00
Normally, modules defined under `blah/index` can be imported as `blah`. This is also true of Ember resolver lookups - `<MyComponent />` should resolve to the same as `<MyComponent::Index />`. This was working as expected in Discourse core, but we had not implemented the same in our custom resolver logic for themes/plugins. This commit implements the `/index` fallback, and adds a test for the behaviour.