Added show.pdf.prawn under admin registrations

This commit is contained in:
Siddhant Bajaj 2017-06-04 03:35:43 +05:30
parent e8e37e0a60
commit 9696433c61

View file

@ -0,0 +1,2 @@
prawn_document(force_download: true, filename: "#{@file_name}.pdf", page_layout: :landscape) do |pdf|
end