method

sandbox

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: ContentSecurityPolicy
sandbox(*values) 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 201
    def sandbox(*values)
      if values.empty?
        @directives["sandbox"] = true
      elsif values.first
        @directives["sandbox"] = values
      else
        @directives.delete("sandbox")
      end
    end
Register or log in to add new notes.