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:
David Taylor 2019-03-05 12:10:53 +00:00
parent 8963f1af30
commit 35275c137b
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +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
:locale_fields,
:user,
:color_scheme,
theme_fields: :upload