DEV: update syntax tree to latest (#24623)

update format to latest syntax tree
This commit is contained in:
Sam
2023-11-29 16:38:07 +11:00
committed by GitHub
parent d40c0b698c
commit b09422428d
35 changed files with 123 additions and 124 deletions

View File

@ -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