You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: screened_urls_controller.rb
    path of file: ./repos/discourse/app/controllers/admin
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

c
    
  def index
    screened_urls =
      ScreenedUrl
        .select(
          "domain, sum(match_count) as match_count, max(last_match_at) as last_match_at, min(created_at) as created_at",
        )
        .group(:domain)
        .order("last_match_at DESC")
        .to_a
    render_serialized(screened_urls, GroupedScreenedUrlSerializer)
  end