discourse/app/controllers/admin/staff_action_logs_controller.rb
2013-08-09 10:06:58 -04:00

8 lines
263 B
Ruby

class Admin::StaffActionLogsController < Admin::AdminController
def index
staff_action_logs = StaffActionLog.limit(200).order('id DESC').includes(:staff_user, :target_user).to_a
render_serialized(staff_action_logs, StaffActionLogSerializer)
end
end