Sha256: fc8fd67770643e38569d98924b5efc9b114087b4224efb2dee338c31257419b9
Contents?: true
Size: 649 Bytes
Versions: 2
Compression:
Stored size: 649 Bytes
Contents
require 'dynamic_attributes' module ErpForms class Engine < Rails::Engine isolate_namespace ErpForms initializer "erp_forms.merge_public" do |app| app.middleware.insert_before Rack::Lock, ::ActionDispatch::Static, "#{root}/public" end ActiveSupport.on_load(:active_record) do include ErpForms::Extensions::ActiveRecord::HasDynamicData include ErpForms::Extensions::ActiveRecord::HasDynamicForms end engine = self config.to_prepare do ErpBaseErpSvcs.register_compass_ae_engine(engine) #dynamic_attributes patch require "erp_forms/dynamic_attributes_patch" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
erp_forms-2.0.2 | lib/erp_forms/engine.rb |
erp_forms-2.0.1 | lib/erp_forms/engine.rb |