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: cors_support.rb
    path of file: ./repos/test_track/app/controllers/concerns
    
    the code of the file until where you have to start completion: module CorsSupport
  extend ActiveSupport::Concern

  included do
    after_action
    
  def set_cors_headers
    return unless cors_allowed?

    if preflight_request?
      add_preflight_cors_headers
    else
      add_cors_headers
    end