Class: PageMeta::MetaTag::DnsPrefetchControl
- Inherits:
-
PageMeta::MetaTag
- Object
- PageMeta::MetaTag
- PageMeta::MetaTag::DnsPrefetchControl
- Defined in:
- lib/page_meta/meta_tag/dns_prefetch_control.rb
Instance Attribute Summary
Attributes inherited from PageMeta::MetaTag
Instance Method Summary collapse
Methods inherited from PageMeta::MetaTag
Constructor Details
This class inherits a constructor from PageMeta::MetaTag
Instance Method Details
#render ⇒ Object
6 7 8 9 |
# File 'lib/page_meta/meta_tag/dns_prefetch_control.rb', line 6 def render helpers.tag(:meta, "http-equiv" => "x-dns-prefetch-control", content: "on") + helpers.tag(:link, rel: "dns-prefetch", href: content) end |