Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-22 09:20:29 +01:00
Custom field list is already cached
Attempt to fix failing CI test that's working locally
Dieser Commit ist enthalten in:
Ursprung
097af63090
Commit
848a0dc0ca
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
|
@ -12,6 +12,6 @@ module CustomWizardCustomFieldPreloader
|
|||
end
|
||||
|
||||
def cw_fields
|
||||
@cw_fields ||= CustomWizard::CustomField.list_by(:klass, @cw_klass)
|
||||
CustomWizard::CustomField.list_by(:klass, @cw_klass)
|
||||
end
|
||||
end
|
|
@ -19,7 +19,7 @@ module CustomWizardCustomFieldSerializer
|
|||
private
|
||||
|
||||
def cw_fields
|
||||
@cw_fields ||= CustomWizard::CustomField.list_by(:serializers, @cw_klass)
|
||||
CustomWizard::CustomField.list_by(:serializers, @cw_klass)
|
||||
end
|
||||
|
||||
def get_cw_class
|
||||
|
|
Laden …
In neuem Issue referenzieren