aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/action_view_overview.md
diff options
context:
space:
mode:
authorMike Gunderloy <MikeG1@larkfarm.com>2017-05-20 04:00:13 -0500
committerMike Gunderloy <MikeG1@larkfarm.com>2017-05-20 04:00:13 -0500
commit062e5f2b068fbce74102d7301b58a3cd7c5da883 (patch)
tree4e0037781d624a11b944d00d5f2486146e2d9272 /guides/source/action_view_overview.md
parent055535fd1b265fba7528044235da665bd41374b9 (diff)
downloadrails-062e5f2b068fbce74102d7301b58a3cd7c5da883.tar.gz
rails-062e5f2b068fbce74102d7301b58a3cd7c5da883.tar.bz2
rails-062e5f2b068fbce74102d7301b58a3cd7c5da883.zip
Add :json type to auto_discovery_link_tag
This allows auto_discovery_link_tag to support the JSON Feed standard. See https://jsonfeed.org/version/1 for more information.
Diffstat (limited to 'guides/source/action_view_overview.md')
-rw-r--r--guides/source/action_view_overview.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/action_view_overview.md b/guides/source/action_view_overview.md
index c835adeab6..10412128cc 100644
--- a/guides/source/action_view_overview.md
+++ b/guides/source/action_view_overview.md
@@ -419,7 +419,7 @@ image_tag("rails.png") # => <img src="http://assets.example.com/images/rails.png
#### auto_discovery_link_tag
-Returns a link tag that browsers and feed readers can use to auto-detect an RSS or Atom feed.
+Returns a link tag that browsers and feed readers can use to auto-detect an RSS, Atom, or JSON feed.
```ruby
auto_discovery_link_tag(:rss, "http://www.example.com/feed.rss", { title: "RSS Feed" }) # =>