mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 06:13:26 +08:00
DEV: update syntax tree to latest (#24623)
update format to latest syntax tree
This commit is contained in:
@ -75,7 +75,7 @@ class Theme < ActiveRecord::Base
|
||||
scope :user_selectable, -> { where("user_selectable OR id = ?", SiteSetting.default_theme_id) }
|
||||
|
||||
scope :include_relations,
|
||||
-> {
|
||||
-> do
|
||||
includes(
|
||||
:child_themes,
|
||||
:parent_themes,
|
||||
@ -88,7 +88,7 @@ class Theme < ActiveRecord::Base
|
||||
:theme_translation_overrides,
|
||||
theme_fields: :upload,
|
||||
)
|
||||
}
|
||||
end
|
||||
|
||||
def notify_color_change(color, scheme: nil)
|
||||
scheme ||= color.color_scheme
|
||||
|
Reference in New Issue
Block a user