Sha256: fb7e943593091e868e57c29823f781cb531d629187de43157bff8215ba0d2cfd

Contents?: true

Size: 225 Bytes

Versions: 9

Compression:

Stored size: 225 Bytes

Contents

# custom class for site
Rails.application.config.to_prepare do
  CamaleonCms::Site.class_eval do
    has_many :attack, class_name: "Plugins::Attack::Models::Attack"
  end
end

class Plugins::Attack::Config::CustomModels; end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
camaleon_cms-2.6.0.1 app/apps/plugins/attack/config/custom_models.rb
camaleon_cms-2.6.0 app/apps/plugins/attack/config/custom_models.rb
camaleon_cms-2.5.3.1 app/apps/plugins/attack/config/custom_models.rb
camaleon_cms-2.5.3 app/apps/plugins/attack/config/custom_models.rb
camaleon_cms-2.5.2 app/apps/plugins/attack/config/custom_models.rb
camaleon_cms_rails6-2.5.0 app/apps/plugins/attack/config/custom_models.rb
camaleon_cms-2.5.1 app/apps/plugins/attack/config/custom_models.rb
camaleon_cms-2.5.0 app/apps/plugins/attack/config/custom_models.rb
camaleon_cms-2.4.6.9 app/apps/plugins/attack/config/custom_models.rb