Sha256: 9e81a70a1922a2cc4f2a67bd81231c4f555bb9102b759d59a4c9235ef7529e32

Contents?: true

Size: 245 Bytes

Versions: 13

Compression:

Stored size: 245 Bytes

Contents

if defined?(RailsAdmin)
  RailsAdmin.config do |config|
    config.excluded_models ||= []
    if Hancock.mongoid?
      config.excluded_models << [
        'Hancock::EmbeddedElement'
      ]
    end
    config.excluded_models.flatten!
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
hancock_cms-2.0.1.3 config/initializers/hancock_cms.rb
hancock_cms-1.0.2.3 config/initializers/hancock_cms.rb
hancock_cms-2.0.1.2 config/initializers/hancock_cms.rb
hancock_cms-2.0.1.1 config/initializers/hancock_cms.rb
hancock_cms-1.0.2.2 config/initializers/hancock_cms.rb
hancock_cms-1.0.1 config/initializers/hancock_cms.rb
hancock_cms-2.0.0.2 config/initializers/hancock_cms.rb
hancock_cms-1.0.0.4 config/initializers/hancock_cms.rb
hancock_cms-1.0.0.3 config/initializers/hancock_cms.rb
hancock_cms-2.0.0.1 config/initializers/hancock_cms.rb
hancock_cms-1.0.0.2 config/initializers/hancock_cms.rb
hancock_cms-2.0.0 config/initializers/hancock_cms.rb
hancock_cms-1.0.0 config/initializers/hancock_cms.rb