mirror of
https://github.com/redmine/redmine.git
synced 2024-09-08 13:45:57 +02:00
![Jean-Philippe Lang](/assets/img/avatar_default.png)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9533 e93f8b46-1217-0410-a6f0-8f06a7374b81
12 lines
272 B
Ruby
12 lines
272 B
Ruby
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
|
|
|