Sha256: d45ef426cbaae4be1a4c74825a96bac5efdebf91e0897bb22abae32ffa7b3bc9

Contents?: true

Size: 212 Bytes

Versions: 2

Compression:

Stored size: 212 Bytes

Contents

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_admin_comments-0.1.1 config/initializers/rails_admin.rb
rails_admin_comments-0.1.0 config/initializers/rails_admin.rb