2
0

Use pluck on DomainAllow.allowed_domains for export (#36019)

This commit is contained in:
Matt Jankowski
2025-09-05 08:30:18 -04:00
committed by GitHub
parent 350a802851
commit 3efba15b3c
5 changed files with 44 additions and 22 deletions

View File

@@ -49,8 +49,8 @@ module Admin
def export_data
CSV.generate(headers: export_headers, write_headers: true) do |content|
DomainAllow.allowed_domains.each do |instance|
content << [instance.domain]
DomainAllow.allowed_domains.each do |domain|
content << [domain]
end
end
end