photomix/vendor/plugins/princely/init.rb
2009-05-22 22:38:52 +02:00

6 lines
132 B
Ruby

require 'prince'
require 'pdf_helper'
Mime::Type.register 'application/pdf', :pdf
ActionController::Base.send(:include, PdfHelper)