mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Screened URLs list in admin
This commit is contained in:
8
app/controllers/admin/screened_urls_controller.rb
Normal file
8
app/controllers/admin/screened_urls_controller.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
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
|
||||
Reference in New Issue
Block a user