Sha256: 20094d8a7d91d3c688279d74b0764912952af96b9d9fb785a5dbc8fb2ddf12af

Contents?: true

Size: 435 Bytes

Versions: 12

Compression:

Stored size: 435 Bytes

Contents

# encoding: utf-8

module Formize
  # @private
  class Railtie < Rails::Railtie
    initializer 'formize.initialize' do
      ActiveSupport.on_load(:action_view) do
        # include Formize::Helpers::TagHelper
        include Formize::Helpers::FormHelper
        include Formize::Helpers::FormTagHelper
      end
      ActiveSupport.on_load(:action_controller) do
        include Formize::ActionController
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
formize-1.1.3 lib/formize/rails/railtie.rb
formize-2.1.0 lib/formize/rails/railtie.rb
formize-2.0.1 lib/formize/rails/railtie.rb
formize-2.0.0 lib/formize/rails/railtie.rb
formize-1.1.2 lib/formize/rails/railtie.rb
formize-1.1.1 lib/formize/rails/railtie.rb
formize-1.1.0 lib/formize/rails/railtie.rb
formize-1.0.4 lib/formize/rails/railtie.rb
formize-1.0.3 lib/formize/rails/railtie.rb
formize-1.0.2 lib/formize/rails/railtie.rb
formize-1.0.1 lib/formize/rails/railtie.rb
formize-1.0.0 lib/formize/rails/railtie.rb