instance method
content_security_policy_nonce_directives=
Ruby on Rails 7.2.3
Since v6.0.6Signature
content_security_policy_nonce_directives=(generator)
No documentation comment.
Parameters
-
generatorreq
Source
# File actionpack/lib/action_dispatch/http/content_security_policy.rb, line 108
def content_security_policy_nonce_directives=(generator)
set_header(NONCE_DIRECTIVES, generator)
end
Defined in actionpack/lib/action_dispatch/http/content_security_policy.rb line 108
· View on GitHub
· Improve this page
· Find usages on GitHub