instance method
content_security_policy_nonce_generator=
Ruby on Rails 5.2.8.1
Since v5.2.8.1Signature
content_security_policy_nonce_generator=(generator)
No documentation comment.
Parameters
-
generatorreq
Source
# File actionpack/lib/action_dispatch/http/content_security_policy.rb, line 71
def content_security_policy_nonce_generator=(generator)
set_header(NONCE_GENERATOR, generator)
end
Defined in actionpack/lib/action_dispatch/http/content_security_policy.rb line 71
· View on GitHub
· Improve this page
· Find usages on GitHub