Sha256: 766f5f6c6b2c6af3196c78ab433613de74281166c4dd5da783694dc8ad8c9340

Contents?: true

Size: 305 Bytes

Versions: 12

Compression:

Stored size: 305 Bytes

Contents

module PrawnPlus
  class Railtie < Rails::Railtie
    initializer "prawn_plus.initialize" do
      Mime::Type.register("application/pdf", :pdf) unless Mime::Type.lookup_by_extension :pdf
      ActionView::Template.register_template_handler :prawn, PrawnPlus::TemplateHandlers::Prawn.new
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
prawn_plus-6.2.0 lib/prawn_plus/railtie.rb
prawn_plus-6.1.0 lib/prawn_plus/railtie.rb
prawn_plus-6.0.0 lib/prawn_plus/railtie.rb
prawn_plus-5.0.0 lib/prawn_plus/railtie.rb
prawn_plus-4.2.0 lib/prawn_plus/railtie.rb
prawn_plus-4.1.0 lib/prawn_plus/railtie.rb
prawn_plus-4.0.0 lib/prawn_plus/railtie.rb
prawn_plus-3.2.0 lib/prawn_plus/railtie.rb
prawn_plus-3.1.0 lib/prawn_plus/railtie.rb
prawn_plus-3.0.0 lib/prawn_plus/railtie.rb
prawn_plus-2.0.0 lib/prawn_plus/railtie.rb
prawn_plus-1.0.0 lib/prawn_plus/railtie.rb