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

8 lines
226 B
Ruby

class Admin::BlockedEmailsController < Admin::AdminController
def index
blocked_emails = BlockedEmail.limit(200).order('last_match_at desc').to_a
render_serialized(blocked_emails, BlockedEmailSerializer)
end
end