Mercurial > hg > soundsoftware-site
view vendor/plugins/rfpdf/init.rb @ 850:e9e53db0c93a bug_213
Close obsolete branch bug_213
author | Chris Cannam |
---|---|
date | Sat, 13 Aug 2011 14:51:48 +0100 |
parents | cbce1fd3b1b7 |
children |
line wrap: on
line source
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