rails/init.rb in ezprint-0.1.1 vs rails/init.rb in ezprint-0.1.2
- old
+ new
@@ -1,3 +1,6 @@
-require File.dirname(__FILE__) + "/../lib/ezprint/rails"
+require 'ezprint/pdf_helper'
+
+Mime::Type.register 'application/pdf', :pdf
+ActionController::Base.send(:include, PdfHelper)