Flowdock
method

csp_meta_tag

Importance_1
Ruby on Rails latest stable (v5.2.3) - 0 notes - Class: CspHelper
csp_meta_tag() 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.