Flowdock
method

csp_meta_tag

Importance_1
v6.0.0 - Show latest stable - 0 notes - Class: CspHelper
csp_meta_tag(**options) public

Returns a meta tag “csp-nonce” with the per-session nonce value for allowing inline <script> tags.

<head>
  <%= csp_meta_tag %>
</head>

This is used by the Rails UJS helper to create dynamically loaded inline <script> elements.

Show source
Register or log in to add new notes.