app/views/admin/_audits_table.html.arb
# frozen_string_literal: true
table_for object.own_and_associated_audits.includes(:user, :auditable).reorder(created_at: :desc) do
column :auditable
column :action
column :audited_changes
column :version
column(:user) { |a| link_to a.user.full_name, admin_user_path(a.user) if a.user }
column :created_at
end