mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
PERF: Reduce N+1s on theme admin page
This commit is contained in:
@ -107,6 +107,7 @@ class Admin::ThemesController < Admin::AdminController
|
||||
:remote_theme,
|
||||
:theme_settings,
|
||||
:settings_field,
|
||||
# :locale_fields, # Fails due to https://github.com/rails/rails/issues/34456
|
||||
:user,
|
||||
:color_scheme,
|
||||
theme_fields: :upload
|
||||
|
Reference in New Issue
Block a user