method

plugin_types

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ContentSecurityPolicy
plugin_types(*types) public

Restricts the set of plugins that can be embedded:

policy.plugin_types "application/x-shockwave-flash"

Leave empty to allow all plugins:

policy.plugin_types
Show source
Register or log in to add new notes.