Sha256: 05661d5231b84c12bf0118116dc0d624d7773ed9f09c387fa76bae3c2dfd8d1d

Contents?: true

Size: 200 Bytes

Versions: 6

Compression:

Stored size: 200 Bytes

Contents

require 'rails'
require "flag_icon/helpers"

module FlagIcon
  class Railtie < ::Rails::Railtie
    initializer "flag_icon.helpers" do
      ActionView::Base.send :include, FlagIcon
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
flag_icon-1.5.2 lib/flag_icon/railtie.rb
flag_icon-1.5.1 lib/flag_icon/railtie.rb
flag_icon-1.5.0 lib/flag_icon/railtie.rb
flag_icon-1.4.1 lib/flag_icon/railtie.rb
flag_icon-1.4.0 lib/flag_icon/railtie.rb
flag_icon-1.3.0 lib/flag_icon/railtie.rb