Screened URLs list in admin

This commit is contained in:
Neil Lalonde
2013-08-15 10:48:30 -04:00
parent def134605d
commit 293361dcd3
16 changed files with 183 additions and 37 deletions

View 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