discourse/app/controllers/admin/screened_urls_controller.rb

9 lines
221 B
Ruby

class Admin::ScreenedUrlsController < Admin::AdminController
def index
screened_urls = ScreenedUrl.limit(200).order('last_match_at desc').to_a
render_serialized(screened_urls, ScreenedUrlSerializer)
end
end