Improve pdf
This commit is contained in:
parent
89ef15f41d
commit
4abae91a5a
3 changed files with 59 additions and 9 deletions
10
config/initializers/prawn.rb
Normal file
10
config/initializers/prawn.rb
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
PrawnRails.config do |config|
|
||||
config.page_layout = :portrait
|
||||
config.page_size = "A4"
|
||||
config.skip_page_creation = false
|
||||
config.left_margin = 48
|
||||
config.top_margin = 48
|
||||
config.right_margin = 48
|
||||
config.bottom_margin = 48
|
||||
end
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue