discourse/app/controllers/admin/screened_ip_addresses_controller.rb

9 lines
244 B
Ruby
Raw Normal View History

class Admin::ScreenedIpAddressesController < Admin::AdminController
def index
screened_emails = ScreenedIpAddress.limit(200).order('last_match_at desc').to_a
render_serialized(screened_emails, ScreenedIpAddressSerializer)
end
end