Replaced rfpdf with prawn and prawnto. Start to convert pdf-views.
This commit is contained in:
parent
da309f03b0
commit
a6c7b04e33
165 changed files with 723 additions and 28123 deletions
7
vendor/plugins/prawnto/init.rb
vendored
Normal file
7
vendor/plugins/prawnto/init.rb
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
require 'prawnto'
|
||||
|
||||
Mime::Type.register "application/pdf", :pdf
|
||||
ActionView::Template.register_template_handler 'prawn', Prawnto::TemplateHandlers::Base
|
||||
ActionView::Template.register_template_handler 'prawn_dsl', Prawnto::TemplateHandlers::Dsl
|
||||
ActionView::Template.register_template_handler 'prawn_xxx', Prawnto::TemplateHandlers::Raw
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue