discourse/app/assets/javascripts/discourse-common
David Taylor 3960ba6588
FIX: Ensure admin templates are not used for non-admin controllers (#17667)
Previously, if a non-admin controller did not have a template defined, then the resolver would return an admin template with the same name. This is not the desired behavior, and regressed in fc36ac6cde. However, we *do* want this behavior for components defined in the admin bundle (because admin components are not namespaced).

This was noticed because the non-admin `badges` route was using the `admin/badges` template

This commit fixes the behavior, and adds a tests for these cases.
2022-07-26 17:03:49 +01:00
..
addon FIX: Ensure admin templates are not used for non-admin controllers (#17667) 2022-07-26 17:03:49 +01:00
app DEV: Make discourse-common an Ember addon. (#9578) 2020-04-29 12:18:21 -04:00
config DEV: Upgrade to Ember 3.28 2022-07-19 10:00:59 +01:00
tests DEV: Make addons buildable on their own (#17205) 2022-06-23 22:19:54 +02:00
vendor DEV: Make discourse-common an Ember addon. (#9578) 2020-04-29 12:18:21 -04:00
.npmrc DEV: Prevent npm usage (#13945) 2021-08-04 22:04:58 +02:00
ember-cli-build.js DEV: Upgrade to Ember 3.28 2022-07-19 10:00:59 +01:00
index.js REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
package.json DEV: Update @embroider/test-setup (#17625) 2022-07-24 17:29:21 +02:00