File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
actionview/lib/action_view/helpers Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,8 @@ module AssetTagHelper
68
68
# attribute, which indicates to the browser that the script is meant to
69
69
# be executed after the document has been parsed. Additionally, prevents
70
70
# sending the Preload Links header.
71
+ # * <tt>:nopush</tt> - Specify if the use of server push is not desired
72
+ # for the script. Defaults to +true+.
71
73
#
72
74
# Any other specified options will be treated as HTML attributes for the
73
75
# +script+ tag.
@@ -168,6 +170,8 @@ def javascript_include_tag(*sources)
168
170
# when it is set to true.
169
171
# * <tt>:nonce</tt> - When set to true, adds an automatic nonce value if
170
172
# you have Content Security Policy enabled.
173
+ # * <tt>:nopush</tt> - Specify if the use of server push is not desired
174
+ # for the stylesheet. Defaults to +true+.
171
175
#
172
176
# ==== Examples
173
177
#
You can’t perform that action at this time.
0 commit comments