Sha256: 1451cfb65a2062aceb99fb86d419459c58358b11c77226abf066acb2c8fbc4b9

Contents?: true

Size: 256 Bytes

Versions: 8

Compression:

Stored size: 256 Bytes

Contents

if defined?(RailsAdmin)
  RailsAdmin.config do |config|
    config.excluded_models ||= []
    config.excluded_models << [
        'RailsAdminComments::Comment',
        'RailsAdminComments::ModelComment'
    ]
    config.excluded_models.flatten!
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rails_admin_comments-0.2.3.3 config/initializers/rails_admin.rb
rails_admin_comments-0.3.0.4 config/initializers/rails_admin.rb
rails_admin_comments-0.2.3.2 config/initializers/rails_admin.rb
rails_admin_comments-0.3.0.3 config/initializers/rails_admin.rb
rails_admin_comments-0.3.0.1 config/initializers/rails_admin.rb
rails_admin_comments-0.3.0 config/initializers/rails_admin.rb
rails_admin_comments-0.2.1 config/initializers/rails_admin.rb
rails_admin_comments-0.2.0 config/initializers/rails_admin.rb