Sha256: 7e29fa96183333704cf9b1bb6571b62c9da743f618bd4640d159dbd851107b76

Contents?: true

Size: 151 Bytes

Versions: 1

Compression:

Stored size: 151 Bytes

Contents

ActiveAdmin.register Category do
  include ActiveAdmin::AjaxFilter

  permit_params :id, :name
  config.sort_order = 'id_asc'
  config.per_page = 3
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
activeadmin-ajax_filter-0.7.0 test_app/blog/app/admin/categories.rb