Sha256: 6a722695abea05da525350a164319c2a2842f7ceb556c4660d5a96f714e27dc8
Contents?: true
Size: 500 Bytes
Versions: 1
Compression:
Stored size: 500 Bytes
Contents
require 'princely/pdf_helper' if Mime::Type.lookup_by_extension(:pdf) != 'application/pdf' Mime::Type.register 'application/pdf', :pdf end if defined?(Rails) if Rails::VERSION::MAJOR >= 5 ActionController::Base.send(:prepend, Princely::PdfHelper) else ActionController::Base.send(:include, Princely::PdfHelper) end ActionController::Base.send(:include, Princely::AssetSupport) if (Rails::VERSION::MAJOR == 3 && Rails::VERSION::MINOR > 0) || (Rails::VERSION::MAJOR >= 4) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
princely-2.1.0 | lib/princely/rails.rb |