Mercurial > hg > soundsoftware-site
diff vendor/plugins/rfpdf/lib/rfpdf.rb @ 441:cbce1fd3b1b7 redmine-1.2
Update to Redmine 1.2-stable branch (Redmine SVN rev 6000)
author | Chris Cannam |
---|---|
date | Mon, 06 Jun 2011 14:24:13 +0100 |
parents | 513646585e45 |
children |
line wrap: on
line diff
--- a/vendor/plugins/rfpdf/lib/rfpdf.rb Thu Mar 03 11:42:28 2011 +0000 +++ b/vendor/plugins/rfpdf/lib/rfpdf.rb Mon Jun 06 14:24:13 2011 +0100 @@ -20,12 +20,21 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. -$LOAD_PATH.unshift(File.dirname(__FILE__)) +require 'action_controller' +require 'action_view' -require 'rfpdf/errors' -require 'rfpdf/view' -require 'rfpdf/fpdf' -require 'rfpdf/rfpdf' -require 'rfpdf/chinese' -require 'rfpdf/japanese' -require 'rfpdf/korean' +require 'rfpdf/action_controller' +require 'rfpdf/action_view' + +require 'rfpdf/template_handler/compile_support' + +require 'rfpdf/template_handlers/base' + + +class ActionController::Base + include RFPDF::ActionController +end + +class ActionView::Base + include RFPDF::ActionView +end