method

block_all_mixed_content

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: ContentSecurityPolicy
block_all_mixed_content(enabled = true) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/http/content_security_policy.rb, line 177
    def block_all_mixed_content(enabled = true)
      if enabled
        @directives["block-all-mixed-content"] = true
      else
        @directives.delete("block-all-mixed-content")
      end
    end
Register or log in to add new notes.