We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d93446 commit 2b8346dCopy full SHA for 2b8346d
actionpack/lib/action_dispatch/http/request.rb
@@ -242,8 +242,9 @@ def headers
242
#
243
# send_early_hints("link" => "</style.css>; rel=preload; as=style,</script.js>; rel=preload")
244
245
- # If you are using `javascript_include_tag` or `stylesheet_link_tag` the Early
246
- # Hints headers are included by default if supported.
+ # If you are using {javascript_include_tag}[rdoc-ref:ActionView::Helpers::AssetTagHelper#javascript_include_tag]
+ # or {stylesheet_link_tag}[rdoc-ref:ActionView::Helpers::AssetTagHelper#stylesheet_link_tag]
247
+ # the Early Hints headers are included by default if supported.
248
def send_early_hints(links)
249
env["rack.early_hints"]&.call(links)
250
end
0 commit comments