mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-25 08:39:38 -05:00
8 lines
356 B
Ruby
8 lines
356 B
Ruby
class Admin::StaffActionLogsController < Admin::AdminController
|
|
|
|
def index
|
|
staff_action_logs = UserHistory.with_filters(params.slice(:action_name, :acting_user, :target_user, :subject)).only_staff_actions.limit(200).order('id DESC').includes(:acting_user, :target_user).to_a
|
|
render_serialized(staff_action_logs, UserHistorySerializer)
|
|
end
|
|
|
|
end
|