Sha256: f9ffbaca38835f146563afa5c74d7da747bb82e493bc7e6c9923aea0f4c9d6b7

Contents?: true

Size: 475 Bytes

Versions: 1

Compression:

Stored size: 475 Bytes

Contents

module IE
  module Compat
    class Railtie < ::Rails::Railtie
      config.ie_compat = ActiveSupport::OrderedOptions.new

      initializer 'ie-compat.initialize' do
        require 'ie/compat/assets_path'
        require 'ie/compat/view_helper'
        require 'ie/compat/active_admin'

        ActiveSupport.on_load(:action_view) do
          include ::IE::Compat::ViewHelper
        end

        config.assets.precompile += %w[ie-compat/*.js]
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ie-compat-0.1.0 lib/ie/compat/railtie.rb