Mercurial > hg > soundsoftware-site
view vendor/plugins/rfpdf/init.rb @ 892:f171d5dfaef0 bug_67
Close obsolete branch bug_67
author | Chris Cannam |
---|---|
date | Wed, 09 Feb 2011 12:16:25 +0000 |
parents | 513646585e45 |
children | cbce1fd3b1b7 |
line wrap: on
line source
require 'rfpdf' begin ActionView::Template::register_template_handler 'rfpdf', RFPDF::View rescue NameError # Rails < 2.1 RFPDF::View.backward_compatibility_mode = true ActionView::Base::register_template_handler 'rfpdf', RFPDF::View end