mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
parent
8c213fa98b
commit
e64f9c87fb
@ -98,7 +98,7 @@ module Stylesheet
|
||||
message = targets.map! do |name|
|
||||
msgs = []
|
||||
active_themes.each do |theme_id|
|
||||
msgs << Stylesheet::Manager.stylesheet_data(name.to_sym, theme_id)
|
||||
msgs << Stylesheet::Manager.new(theme_id: theme_id).stylesheet_data(name.to_sym)
|
||||
end
|
||||
msgs
|
||||
end.flatten!
|
||||
@ -116,7 +116,7 @@ module Stylesheet
|
||||
message = targets.map! do |name|
|
||||
msgs = []
|
||||
active_themes.each do |theme_id|
|
||||
msgs << Stylesheet::Manager.stylesheet_data(name.to_sym, theme_id)
|
||||
msgs << Stylesheet::Manager.new(theme_id: theme_id).stylesheet_data(name.to_sym)
|
||||
end
|
||||
msgs
|
||||
end.flatten!
|
||||
|
Loading…
Reference in New Issue
Block a user