Skip to content

Commit c09f963

Browse files
authored
Merge pull request rails#50620 from akhilgkrishnan/document-nonce-option-stylesheet-link-tag
Document nonce option in stylesheet_link_tag api documentation [skip ci]
2 parents ecb1d66 + 84840fb commit c09f963

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

actionview/lib/action_view/helpers/asset_tag_helper.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,8 @@ def javascript_include_tag(*sources)
166166
# that path.
167167
# * <tt>:skip_pipeline</tt> - This option is used to bypass the asset pipeline
168168
# when it is set to true.
169+
# * <tt>:nonce</tt> - When set to true, adds an automatic nonce value if
170+
# you have Content Security Policy enabled.
169171
#
170172
# ==== Examples
171173
#

0 commit comments

Comments
 (0)