mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 10:08:20 -05:00
8 lines
331 B
Ruby
8 lines
331 B
Ruby
class Admin::StaffActionLogsController < Admin::AdminController
|
|
|
|
def index
|
|
staff_action_logs = StaffActionLog.with_filters(params.slice(:action_name, :staff_user, :target_user)).limit(200).order('id DESC').includes(:staff_user, :target_user).to_a
|
|
render_serialized(staff_action_logs, StaffActionLogSerializer)
|
|
end
|
|
|
|
end
|