Sha256: a4a1fa3e97c6537e7afb9bb9f5830037d667689f1d2099562db6360901b7b286
Contents?: true
Size: 713 Bytes
Versions: 3
Compression:
Stored size: 713 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) ::ErpApp::Widgets::Loader.load_compass_ae_widgets(engine) #dynamic_attributes patch require "erp_forms/dynamic_attributes_patch" end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
erp_forms-2.0.5 | lib/erp_forms/engine.rb |
erp_forms-2.0.4 | lib/erp_forms/engine.rb |
erp_forms-2.0.3 | lib/erp_forms/engine.rb |