mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 23:31:18 +08:00
FEATURE: backend support for user-selectable components
* FEATURE: backend support for user-selectable components * fix problems with previewing default theme * rename preview_key => preview_theme_id * omit default theme from child themes dropdown and try a different fix * cache & freeze stylesheets arrays
This commit is contained in:
@ -83,7 +83,7 @@ describe EmbedController do
|
||||
end
|
||||
|
||||
it "includes CSS from embedded_scss field" do
|
||||
theme = Theme.create!(name: "Awesome blog", user_id: -1)
|
||||
theme = Fabricate(:theme)
|
||||
theme.set_default!
|
||||
|
||||
ThemeField.create!(
|
||||
|
Reference in New Issue
Block a user