Sha256: b43e10ce146c29bb37bbb30714de8dbf0a4caa7940b9bed734a4a8224ca89e9f
Contents?: true
Size: 663 Bytes
Versions: 3
Compression:
Stored size: 663 Bytes
Contents
module EffectiveFormInputs class Engine < ::Rails::Engine engine_name 'effective_form_inputs' config.autoload_paths += Dir[ "#{config.root}/lib/validators/", "#{config.root}/lib/effective_form_inputs/inputs", ] config.eager_load_paths += Dir[ "#{config.root}/lib/validators/", "#{config.root}/lib/effective_form_inputs/inputs", ] initializer 'effective_form_inputs.action_view' do |app| Rails.application.config.to_prepare do ActiveSupport.on_load :action_view do ActionView::Helpers::FormBuilder.send(:include, ::Effective::FormBuilderInputs) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems