mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 01:56:01 -05:00
8 lines
294 B
Ruby
8 lines
294 B
Ruby
class Admin::StaffActionLogsController < Admin::AdminController
|
|
|
|
def index
|
|
staff_action_logs = UserHistory.staff_action_records(current_user, params.slice(:action_name, :acting_user, :target_user, :subject)).to_a
|
|
render_serialized(staff_action_logs, UserHistorySerializer)
|
|
end
|
|
|
|
end
|