mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 11:38:30 +02:00
parent
6489106a4a
commit
4232301484
2 changed files with 5 additions and 1 deletions
|
@ -52,7 +52,8 @@ class Registrar
|
|||
end
|
||||
|
||||
csv = Registrar::DomainListCSVPresenter.new(domains: domain_presenters, view: view_context).to_s
|
||||
send_data(csv)
|
||||
filename = "Domains_#{l(Time.zone.now, format: :filename)}.csv"
|
||||
send_data(csv, filename: filename)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue