Autofix Rubocop remaining Layout rules (#23679)
This commit is contained in:
@ -128,6 +128,7 @@ class Form::AdminSettings
|
||||
def validate_site_uploads
|
||||
UPLOAD_KEYS.each do |key|
|
||||
next unless instance_variable_defined?("@#{key}")
|
||||
|
||||
upload = instance_variable_get("@#{key}")
|
||||
next if upload.valid?
|
||||
|
||||
|
Reference in New Issue
Block a user