Sha256: 26236935c3f82f4243c981b71ffc289c0bc2d5cf3a2a7e9f49d53ddc06fbf1b5
Contents?: true
Size: 413 Bytes
Versions: 15
Compression:
Stored size: 413 Bytes
Contents
module Wisepdf module Rails if ::Rails::VERSION::MAJOR == 2 require 'wisepdf/rails/legacy' elsif ::Rails::VERSION::MAJOR > 2 if ::Rails::VERSION::MINOR < 1 require 'wisepdf/rails/railtie' else require 'wisepdf/rails/engine' end end if Mime::Type.lookup_by_extension(:pdf).nil? Mime::Type.register('application/pdf', :pdf) end end end
Version data entries
15 entries across 15 versions & 1 rubygems