##// END OF EJS Templates
Rails3.2: pdf: comment out ::ActionView::TemplateHandlers::ERB of rfpdf plugin (#4796)...
Toshi MARUYAMA -
r8582:09c305d29fb9
parent child
Show More
@@ -7,5 +7,5 require('cgi')
7 require 'rfpdf'
7 require 'rfpdf'
8
8
9 # Mime::Type.register "application/pdf", :pdf
9 # Mime::Type.register "application/pdf", :pdf
10 ActionView::Template::register_template_handler 'rfpdf', RFPDF::TemplateHandlers::Base
10 # ActionView::Template::register_template_handler 'rfpdf', RFPDF::TemplateHandlers::Base
11
11
@@ -1,11 +1,11
1 module RFPDF
1 module RFPDF
2 module TemplateHandlers
2 module TemplateHandlers
3 class Base < ::ActionView::TemplateHandlers::ERB
3 # class Base < ::ActionView::TemplateHandlers::ERB
4
4
5 def compile(template)
5 # def compile(template)
6 src = "_rfpdf_compile_setup;" + super
6 # src = "_rfpdf_compile_setup;" + super
7 end
7 # end
8 end
8 # end
9 end
9 end
10 end
10 end
11
11
General Comments 0
You need to be logged in to leave comments. Login now