Sha256: c4a1c56ab60f660e0d68e6975d144be375915b9ba7ea25cad478a86c30be8ff0

Contents?: true

Size: 687 Bytes

Versions: 6

Compression:

Stored size: 687 Bytes

Contents

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

    isolate_namespace ErpTechSvcs

    Mime::Type.register "application/pdf", :pdf

	  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::HasRelationalDynamicAttributes
    end

    ErpBaseErpSvcs.register_as_compass_ae_engine(config, self)
    
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
erp_tech_svcs-3.1.3 lib/erp_tech_svcs/engine.rb
erp_tech_svcs-3.1.2 lib/erp_tech_svcs/engine.rb
erp_tech_svcs-3.1.1 lib/erp_tech_svcs/engine.rb
erp_tech_svcs-3.0.12 lib/erp_tech_svcs/engine.rb
erp_tech_svcs-3.1.0 lib/erp_tech_svcs/engine.rb
erp_tech_svcs-3.0.11 lib/erp_tech_svcs/engine.rb