mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 13:52:50 +08:00
0eda1c96f1
Why this change? Instead of dealing with a generic object for `Theme#settings`, we want to always be dealing with `ThemeSettings` objects.` Previously, we converted the generic objects to `ThemeSettings` objects in the theme's adapter `afterFindAll` function. This is not correct because updating or saving the theme individual reverted the `Theme#settings` back to an array of generic object. To fix this problem, the proper way with our REST models is to overwrite the static `munge` method and create `ThemeSettings` instances there. |
||
---|---|---|
.. | ||
admin | ||
bootstrap-json | ||
deprecation-silencer | ||
dialog-holder | ||
discourse | ||
discourse-common | ||
discourse-hbr | ||
discourse-i18n | ||
discourse-markdown-it | ||
discourse-plugins | ||
discourse-widget-hbs | ||
docs | ||
ember-addons | ||
ember-cli-progress-ci | ||
ember-production-deprecations | ||
float-kit | ||
locales | ||
pretty-text | ||
select-kit | ||
theme-transpiler | ||
truth-helpers | ||
.npmrc | ||
handlebars-shim.js | ||
polyfills.js | ||
run-patch-package | ||
service-worker.js.erb |