Sha256: 3ef918320e6473dbd0eb27a004976239d08d76fac42061f29fdb773a3d7442a2

Contents?: true

Size: 280 Bytes

Versions: 5

Compression:

Stored size: 280 Bytes

Contents

# frozen_string_literal: true

require 'flag-icons-rails/rails/helpers'

module FlagIconsRails
  module Rails
    class Railtie < ::Rails::Railtie
      initializer 'flag-icons-rails.view_helpers' do
        ActionView::Base.send :include, ViewHelpers
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
flag-icons-rails-3.4.6.1 lib/flag-icons-rails/rails/railtie.rb
flag-icons-rails-3.4.6 lib/flag-icons-rails/rails/railtie.rb
flag-icons-rails-3.4.5 lib/flag-icons-rails/rails/railtie.rb
flag-icons-rails-3.1.0 lib/flag-icons-rails/rails/railtie.rb
flag-icons-rails-2.5.0 lib/flag-icons-rails/rails/railtie.rb