Class: IronAdmin::AuditController

Inherits:
ApplicationController show all
Defined in:
app/controllers/iron_admin/audit_controller.rb

Overview

Controller for viewing the audit log.

Provides a filterable view of all admin panel actions when audit logging is enabled.

Access via /admin/audit

Instance Method Summary collapse

Instance Method Details

#indexvoid

This method returns an undefined value.

Lists audit log entries with optional filters.

Supports filtering by resource, action, and date range.



19
20
21
# File 'app/controllers/iron_admin/audit_controller.rb', line 19

def index
  @entries = filtered_entries.reverse
end