discourse/app/controllers/admin/staff_action_logs_controller.rb

9 lines
294 B
Ruby
Raw Normal View History

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
2013-09-10 21:21:16 -04:00
render_serialized(staff_action_logs, UserHistorySerializer)
end
end