Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed code that was already included in railties

  • Loading branch information...
commit 049618ac0a524db5216cb0ab2f9372bc2034d5ca 1 parent b19042c
@anlek anlek authored
Showing with 0 additions and 12 deletions.
  1. +0 −12 init.rb
View
12 init.rb
@@ -1,14 +1,2 @@
require 'wicked_pdf'
require 'wicked_pdf_tempfile'
-
-unless ActionController::Base.instance_methods.collect(&:to_s).include? "render_with_wicked_pdf"
- require 'pdf_helper'
- ActionController::Base.send :include, PdfHelper
-end
-
-unless ActionView::Base.instance_methods.collect(&:to_s).include? "wicked_pdf_stylesheet_link_tag"
- require 'wicked_pdf_helper'
- ActionView::Base.send :include, WickedPdfHelper
-end
-
-Mime::Type.register 'application/pdf', :pdf
Please sign in to comment.
Something went wrong with that request. Please try again.