Sha256: 497c08ab176e50081db554a0a64ac5f9a2c81c3cd1e3187db384bfeb2cdd6fdd

Contents?: true

Size: 320 Bytes

Versions: 6

Compression:

Stored size: 320 Bytes

Contents

require 'rails'

module NestedForm
  class Engine < ::Rails::Engine
    initializer 'nested_form' do |app|
      ActiveSupport.on_load(:action_view) do
        require "nested_form/view_helper"
        class ActionView::Base
          include NestedForm::ViewHelper
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
bbenezech-nested_form-0.0.6 lib/nested_form/engine.rb
bbenezech-nested_form-0.0.5 lib/nested_form/engine.rb
bbenezech-nested_form-0.0.4 lib/nested_form/engine.rb
bbenezech-nested_form-0.0.3 lib/nested_form/engine.rb
bbenezech-nested_form-0.0.2 lib/nested_form/engine.rb
bbenezech-nested_form-0.0.1 lib/nested_form/engine.rb