mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 03:40:00 +08:00
3f908c047d
When a theme setting of type `upload` has a default upload, it should return the URL of the specified default upload until a custom upload is used for the setting. However, currently this isn't the case and we get null instead of the default upload URL.
The reason for this is because the `super` method of `#value` already returns the default upload URL (if there's one), so we can't pass that to `cdn_url` which expects an upload ID:
|
||
---|---|---|
.. | ||
backups | ||
csv | ||
db | ||
emails | ||
encodings | ||
feed | ||
i18n | ||
images | ||
json | ||
md | ||
media | ||
mmdb | ||
multisite | ||
onebox | ||
plugins | ||
scss | ||
site_settings | ||
theme_settings | ||
themes | ||
woff2 |