Sha256: d52f49a43908e132344c42e9d171dd40249e16e1f1cab849bd6eb23db9376890
Contents?: true
Size: 356 Bytes
Versions: 11
Compression:
Stored size: 356 Bytes
Contents
# frozen_string_literal: true module PrawnPlus # The Rails hook. 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
11 entries across 11 versions & 1 rubygems