Sha256: ebdbc09f8cc8875ea230d664958f9f8e8086b87930e8c4c458d376df22195734
Contents?: true
Size: 385 Bytes
Versions: 2
Compression:
Stored size: 385 Bytes
Contents
require 'rails' module Riif class Railtie < ::Rails::Railtie initializer 'riif' do ::ActiveSupport.on_load(:action_view) do unless ::Mime::Type.lookup_by_extension(:iif) ::Mime::Type.register "application/qbooks", :iif, %w(application/qbookspro text/iif) end require 'riif/rails/template_handler' end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
riif-0.1.0 | lib/riif/railtie.rb |
riif-0.0.1 | lib/riif/railtie.rb |