--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Returns a link tag that browsers and news readers can use to auto-detect an RSS or ATOM feed. The <tt>type</tt> can either be <tt>:rss</tt> (default) or <tt>:atom</tt>. Control the link options in url_for format using the <tt>url_options</tt>. You can modify the LINK tag itself in <tt>tag_options</tt>.
- !ruby/struct:SM::Flow::H 
  level: 4
  text: "Options:"
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: <tt>:rel</tt> - Specify the relation of this link, defaults to &quot;alternate&quot;
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: <tt>:type</tt> - Override the auto-generated mime type
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: <tt>:title</tt> - Specify the title of the link, defaults to the <tt>type</tt>
  type: :BULLET
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Examples
- !ruby/struct:SM::Flow::VERB 
  body: " auto_discovery_link_tag # =&gt;\n    &lt;link rel=&quot;alternate&quot; type=&quot;application/rss+xml&quot; title=&quot;RSS&quot; href=&quot;http://www.currenthost.com/controller/action&quot; /&gt;\n auto_discovery_link_tag(:atom) # =&gt;\n    &lt;link rel=&quot;alternate&quot; type=&quot;application/atom+xml&quot; title=&quot;ATOM&quot; href=&quot;http://www.currenthost.com/controller/action&quot; /&gt;\n auto_discovery_link_tag(:rss, {:action =&gt; &quot;feed&quot;}) # =&gt;\n    &lt;link rel=&quot;alternate&quot; type=&quot;application/rss+xml&quot; title=&quot;RSS&quot; href=&quot;http://www.currenthost.com/controller/feed&quot; /&gt;\n auto_discovery_link_tag(:rss, {:action =&gt; &quot;feed&quot;}, {:title =&gt; &quot;My RSS&quot;}) # =&gt;\n    &lt;link rel=&quot;alternate&quot; type=&quot;application/rss+xml&quot; title=&quot;My RSS&quot; href=&quot;http://www.currenthost.com/controller/feed&quot; /&gt;\n auto_discovery_link_tag(:rss, {:controller =&gt; &quot;news&quot;, :action =&gt; &quot;feed&quot;}) # =&gt;\n    &lt;link rel=&quot;alternate&quot; type=&quot;application/rss+xml&quot; title=&quot;RSS&quot; href=&quot;http://www.currenthost.com/news/feed&quot; /&gt;\n auto_discovery_link_tag(:rss, &quot;http://www.example.com/feed.rss&quot;, {:title =&gt; &quot;Example RSS&quot;}) # =&gt;\n    &lt;link rel=&quot;alternate&quot; type=&quot;application/rss+xml&quot; title=&quot;Example RSS&quot; href=&quot;http://www.example.com/feed&quot; /&gt;\n"
full_name: ActionView::Helpers::AssetTagHelper#auto_discovery_link_tag
is_singleton: false
name: auto_discovery_link_tag
params: (type = :rss, url_options = {}, tag_options = {})
visibility: public
