Sha256: 9e1227dae5be66372517801ad911d547b51903d2b474e8c657512df988caa99c

Contents?: true

Size: 676 Bytes

Versions: 1

Compression:

Stored size: 676 Bytes

Contents

module ErpTechSvcs
  class Engine < Rails::Engine
    config.erp_tech_svcs = ErpTechSvcs::Config

    isolate_namespace ErpTechSvcs

	  ActiveSupport.on_load(:active_record) do
      include ErpTechSvcs::Extensions::ActiveRecord::HasSecurityRoles
      include ErpTechSvcs::Extensions::ActiveRecord::HasFileAssets
      include ErpTechSvcs::Extensions::ActiveRecord::ProtectedByCapabilities
      include ErpTechSvcs::Extensions::ActiveRecord::HasCapabilityAccessors
      include ErpTechSvcs::Extensions::ActiveRecord::IsJson
      include ErpTechSvcs::Extensions::ActiveRecord::ScopedBy
    end

    ErpBaseErpSvcs.register_as_compass_ae_engine(config, self)
    
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
erp_tech_svcs-4.2.0 lib/erp_tech_svcs/engine.rb