Sha256: f19938c62ea790ff5852711e1369f7d1908a051128fad4236bde43fcf96b6a3e

Contents?: true

Size: 390 Bytes

Versions: 1

Compression:

Stored size: 390 Bytes

Contents

require 'princely/pdf_helper'
require 'princely/view_helpers'

if Mime::Type.lookup_by_extension(:pdf) != 'application/pdf'
  Mime::Type.register 'application/pdf', :pdf
end

ActionController::Base.send(:include, Princely::PdfHelper)
ActionController::Base.send(:include, Princely::AssetSupport) if
 (Rails::VERSION::MAJOR == 3 && Rails::VERSION::MINOR > 0) ||
 (Rails::VERSION::MAJOR >= 4)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
princely-2.0.0 lib/princely/rails.rb