module ActionController::ContentSecurityPolicy

def content_security_policy?

def content_security_policy?
  request.content_security_policy
end

def content_security_policy_nonce

def content_security_policy_nonce
  request.content_security_policy_nonce
end

def current_content_security_policy

def current_content_security_policy
  request.content_security_policy&.clone || ActionDispatch::ContentSecurityPolicy.new
end