Skip to content

Commit 84840fb

Browse files
Document nonce option in stylesheet_link_tag api documentation
1 parent ecb1d66 commit 84840fb

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)