mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-04 21:01:27 -05:00
9 lines
292 B
Ruby
9 lines
292 B
Ruby
class Admin::StaffActionLogsController < Admin::AdminController
|
|
|
|
def index
|
|
filters = params.slice(*UserHistory.staff_filters)
|
|
staff_action_logs = UserHistory.staff_action_records(current_user, filters).to_a
|
|
render_serialized(staff_action_logs, UserHistorySerializer)
|
|
end
|
|
|
|
end
|