Sha256: 33996827cc3d7c9263c91abccb30384d6714fdd62d19a4b9082d125a91e939e3

Contents?: true

Size: 380 Bytes

Versions: 32

Compression:

Stored size: 380 Bytes

Contents

if defined?(ActiveAdmin)
  ActiveAdmin.register Lentil::User do
    actions :index
    config.batch_actions = false

    filter :service
    filter :user_name
    filter :full_name
    filter :bio

    index do
      column :id
      column :user_name
      column :full_name
      column :service
      column :images_count
      column :bio, :sortable => false
    end
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
lentil-1.0.5 lib/lentil/admin/user.rb
lentil-1.0.4 lib/lentil/admin/user.rb
lentil-1.0.3 lib/lentil/admin/user.rb
lentil-1.0.2 lib/lentil/admin/user.rb
lentil-1.0.1 lib/lentil/admin/user.rb
lentil-1.0.0 lib/lentil/admin/user.rb
lentil-0.9.1 lib/lentil/admin/user.rb
lentil-0.9.0 lib/lentil/admin/user.rb
lentil-0.8.0 lib/lentil/admin/user.rb
lentil-0.7.1 lib/lentil/admin/user.rb
lentil-0.6.0 lib/lentil/admin/user.rb
lentil-0.5.2 lib/lentil/admin/user.rb
lentil-0.5.1 lib/lentil/admin/user.rb
lentil-0.5.0 lib/lentil/admin/user.rb
lentil-0.4.2 lib/lentil/admin/user.rb
lentil-0.4.0 lib/lentil/admin/user.rb
lentil-0.3.1 lib/lentil/admin/user.rb
lentil-0.3.0 lib/lentil/admin/user.rb
lentil-0.2.3 lib/lentil/admin/user.rb
lentil-0.2.2 lib/lentil/admin/user.rb