mirror of
https://github.com/redmine/redmine.git
synced 2025-11-13 00:36:01 +01:00
Moved Rails plugins required by the core to lib/plugins.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9533 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
11
lib/plugins/rfpdf/init.rb
Normal file
11
lib/plugins/rfpdf/init.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user