Skip to content

Commit 2b8346d

Browse files
Link javascript_include_tag and stylesheet_link_tag [ci-skip]
1 parent 6d93446 commit 2b8346d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

actionpack/lib/action_dispatch/http/request.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,9 @@ def headers
242242
#
243243
# send_early_hints("link" => "</style.css>; rel=preload; as=style,</script.js>; rel=preload")
244244
#
245-
# If you are using `javascript_include_tag` or `stylesheet_link_tag` the Early
246-
# Hints headers are included by default if supported.
245+
# If you are using {javascript_include_tag}[rdoc-ref:ActionView::Helpers::AssetTagHelper#javascript_include_tag]
246+
# or {stylesheet_link_tag}[rdoc-ref:ActionView::Helpers::AssetTagHelper#stylesheet_link_tag]
247+
# the Early Hints headers are included by default if supported.
247248
def send_early_hints(links)
248249
env["rack.early_hints"]&.call(links)
249250
end

0 commit comments

Comments
 (0)