diff --git a/vendor/plugins/rfpdf/init.rb b/vendor/plugins/rfpdf/init.rb index f9cc9caed8..17011c80ca 100644 --- a/vendor/plugins/rfpdf/init.rb +++ b/vendor/plugins/rfpdf/init.rb @@ -8,5 +8,5 @@ require('cgi') require 'rfpdf' # Mime::Type.register "application/pdf", :pdf -ActionView::Template::register_template_handler 'rfpdf', RFPDF::TemplateHandlers::Base +# ActionView::Template::register_template_handler 'rfpdf', RFPDF::TemplateHandlers::Base diff --git a/vendor/plugins/rfpdf/lib/rfpdf/template_handlers/base.rb b/vendor/plugins/rfpdf/lib/rfpdf/template_handlers/base.rb index e0ea9d1d3a..e192da5fd7 100644 --- a/vendor/plugins/rfpdf/lib/rfpdf/template_handlers/base.rb +++ b/vendor/plugins/rfpdf/lib/rfpdf/template_handlers/base.rb @@ -1,13 +1,11 @@ #-- encoding: UTF-8 -module RFPDF - module TemplateHandlers - class Base < ::ActionView::TemplateHandlers::ERB - - def compile(template) - src = "_rfpdf_compile_setup;" + super - end - end - end -end - - +# module RFPDF +# module TemplateHandlers +# class Base < ::ActionView::TemplateHandlers::ERB +# +# def compile(template) +# src = "_rfpdf_compile_setup;" + super +# end +# end +# end +# end