mirror of
https://github.com/discourse/discourse.git
synced 2025-01-30 04:19:28 +08:00
PERF: Remove final N+1 from theme admin page
The rails bug previously mentioned only causes an issue when using `pluck`, so this controller is not affected.
Followup to a8ffc02d06
This commit is contained in:
parent
8963f1af30
commit
35275c137b
|
@ -107,7 +107,7 @@ class Admin::ThemesController < Admin::AdminController
|
||||||
:remote_theme,
|
:remote_theme,
|
||||||
:theme_settings,
|
:theme_settings,
|
||||||
:settings_field,
|
:settings_field,
|
||||||
# :locale_fields, # Fails due to https://github.com/rails/rails/issues/34456
|
:locale_fields,
|
||||||
:user,
|
:user,
|
||||||
:color_scheme,
|
:color_scheme,
|
||||||
theme_fields: :upload
|
theme_fields: :upload
|
||||||
|
|
Loading…
Reference in New Issue
Block a user