Sha256: c1274680af9aebedd52d902e3d02db0632bd5f9091e87c962ccd8b334f61b255

Contents?: true

Size: 358 Bytes

Versions: 3

Compression:

Stored size: 358 Bytes

Contents

# frozen_string_literal: true

require 'rails_material_design_icons/icon_helper'

module MaterialDesignIcons
  module Rails
    # Initialize!
    class Railtie < ::Rails::Railtie
      initializer 'rails_material_design_icons.icon_helper' do
        ActiveSupport.on_load(:action_view) { include MaterialDesignIcons::IconHelper }
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rails_material_design_icons-6.5.95 lib/rails_material_design_icons/railtie.rb
rails_material_design_icons-0.7.0 lib/rails_material_design_icons/railtie.rb
rails_material_design_icons-0.6.0 lib/rails_material_design_icons/railtie.rb