discourse/app/controllers/admin/screened_urls_controller.rb

9 lines
221 B
Ruby
Raw Normal View History

2013-08-15 09:48:30 -05:00
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