method
content_security_policy_report_only
v5.2.3 -
Show latest stable
- Class:
ActionController::ContentSecurityPolicy::ClassMethods
content_security_policy_report_only(report_only = true, **options)public
No documentation available.
# File actionpack/lib/action_controller/metal/content_security_policy.rb, line 31
def content_security_policy_report_only(report_only = true, **options)
before_action(options) do
request.content_security_policy_report_only = report_only
end
end