mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 02:39:37 +02:00
105842700-redirect_fix_and template
This commit is contained in:
parent
cd8feaf553
commit
ce209b317d
3 changed files with 24 additions and 2 deletions
|
@ -36,7 +36,7 @@ class Registrant::DomainsController < RegistrantController
|
|||
format.csv { render text: @domains.result.to_csv }
|
||||
format.pdf do
|
||||
pdf = @domains.result.pdf(render_to_string('registrant/domains/download_list', layout: false))
|
||||
send_data pdf, filename: 'domains'
|
||||
send_data pdf, filename: 'domains.pdf'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue