OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/vendor/plugins/rfpdf/init.rb

10 lines
267 B

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