Redmine/vendor/plugins/rfpdf/init.rb

12 lines
270 B
Ruby
Raw Normal View History

begin
require('htmlentities')
rescue LoadError
# This gem is not required - just nice to have.
end
require('cgi')
require 'rfpdf'
# Mime::Type.register "application/pdf", :pdf
ActionView::Template::register_template_handler 'rfpdf', RFPDF::TemplateHandlers::Base