Sha256: 466b64950d3528eb461cf1c4c2b0859580112b0d3f3d01fc0d245672c49d6a84

Contents?: true

Size: 292 Bytes

Versions: 4

Compression:

Stored size: 292 Bytes

Contents

# frozen_string_literal: true

module FComponents
  class Railtie < ::Rails::Railtie
    initializer 'f-components.view_helpers' do
      ActiveSupport.on_load(:action_view) do
        include FComponents::ComponentsHelper
        include FComponents::IconsHelper
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
f_components-0.5.0 lib/f_components/railtie.rb
f_components-1.0.0 lib/f_components/railtie.rb
f_components-0.3.0 lib/f_components/railtie.rb
f_components-0.2.1 lib/f_components/railtie.rb