class ActiveAdmin::Views::IndexAsReorderableTable

Public Class Methods

index_name() click to toggle source
# File lib/active_admin/views/index_as_reorderable_table.rb, line 5
def self.index_name
  'reorderable_table'
end

Public Instance Methods

build(page_presenter, collection) click to toggle source
Calls superclass method
# File lib/active_admin/views/index_as_reorderable_table.rb, line 9
def build(page_presenter, collection)
  add_class 'aa-reorderable'
  super(page_presenter, collection)
end
table_for(*args, &block) click to toggle source
# File lib/active_admin/views/index_as_reorderable_table.rb, line 14
def table_for(*args, &block)
  insert_tag ReorderableTableFor, *args, &block
end