summaryrefslogtreecommitdiffstats
path: root/vendor
diff options
context:
space:
mode:
Diffstat (limited to 'vendor')
-rw-r--r--vendor/plugins/rfpdf/init.rb2
-rw-r--r--vendor/plugins/rfpdf/lib/rfpdf/template_handlers/base.rb10
2 files changed, 6 insertions, 6 deletions
diff --git a/vendor/plugins/rfpdf/init.rb b/vendor/plugins/rfpdf/init.rb
index 196e64901..efe4ebd78 100644
--- a/vendor/plugins/rfpdf/init.rb
+++ b/vendor/plugins/rfpdf/init.rb
@@ -7,5 +7,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 11b72c8fe..a7b15453e 100644
--- a/vendor/plugins/rfpdf/lib/rfpdf/template_handlers/base.rb
+++ b/vendor/plugins/rfpdf/lib/rfpdf/template_handlers/base.rb
@@ -1,11 +1,11 @@
module RFPDF
module TemplateHandlers
- class Base < ::ActionView::TemplateHandlers::ERB
+ # class Base < ::ActionView::TemplateHandlers::ERB
- def compile(template)
- src = "_rfpdf_compile_setup;" + super
- end
- end
+ # def compile(template)
+ # src = "_rfpdf_compile_setup;" + super
+ # end
+ # end
end
end