Sha256: bbe5aceee89028a4927e31218fe224c082b8905aeaafdeb12f24b0adda2f6fb5
Contents?: true
Size: 300 Bytes
Versions: 2
Compression:
Stored size: 300 Bytes
Contents
require "rails" module ChinaRegions if ::Rails.version > "3.1" class Engine < ::Rails::Engine; end else class Railtie < ::Rails::Railtie ActiveSupport.on_load(:action_view) do ::ActionView::Base.send :include, ChinaRegions::Helpers::FormHelper end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
china_regions-0.0.5 | lib/china_regions/engine.rb |
china_regions-0.0.4 | lib/china_regions/engine.rb |