REVIEW: remove some old stuff

pull/1186/head
Martin Linkhorst 12 years ago
parent 5fb51daab1
commit c729677d43
  1. 2
      vendor/plugins/rfpdf/init.rb
  2. 22
      vendor/plugins/rfpdf/lib/rfpdf/template_handlers/base.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

@ -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

Loading…
Cancel
Save