Sha256: 55394adc94814ea748589d47b2006a038e5e3ad4641581163e880ec482a5feb2
Contents?: true
Size: 330 Bytes
Versions: 10
Compression:
Stored size: 330 Bytes
Contents
# frozen_string_literal: true 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
10 entries across 10 versions & 1 rubygems