diff options
author | Tom Stuart <tom@experthuman.com> | 2012-02-05 15:16:03 +0000 |
---|---|---|
committer | Tom Stuart <tom@experthuman.com> | 2012-02-05 15:16:03 +0000 |
commit | 7f8f05f6275bae436fa801d2988498940ad641a7 (patch) | |
tree | b2b651c6d30abfe81da0c812eb3fcddc25dc3d6c /railties/guides/source | |
parent | 71abd4fbdd98127dc2b4ca7c9508d38cc4caf888 (diff) | |
download | rails-7f8f05f6275bae436fa801d2988498940ad641a7.tar.gz rails-7f8f05f6275bae436fa801d2988498940ad641a7.tar.bz2 rails-7f8f05f6275bae436fa801d2988498940ad641a7.zip |
Stop referring to Atom as "ATOM"
$ curl -s http://www.ietf.org/rfc/rfc4287 | grep -io ATOM | sort | uniq -c
582 atom
175 Atom
Diffstat (limited to 'railties/guides/source')
-rw-r--r-- | railties/guides/source/action_view_overview.textile | 4 | ||||
-rw-r--r-- | railties/guides/source/layouts_and_rendering.textile | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/railties/guides/source/action_view_overview.textile b/railties/guides/source/action_view_overview.textile index e2b69fa0d5..bb1b3b5fd8 100644 --- a/railties/guides/source/action_view_overview.textile +++ b/railties/guides/source/action_view_overview.textile @@ -570,7 +570,7 @@ stylesheet_link_tag :monkey # => h5. auto_discovery_link_tag -Returns a link tag that browsers and news readers can use to auto-detect an RSS or ATOM feed. +Returns a link tag that browsers and news readers can use to auto-detect an RSS or Atom feed. <ruby> auto_discovery_link_tag(:rss, "http://www.example.com/feed.rss", {:title => "RSS Feed"}) # => @@ -663,7 +663,7 @@ h4. AtomFeedHelper h5. atom_feed -This helper makes building an ATOM feed easy. Here's a full usage example: +This helper makes building an Atom feed easy. Here's a full usage example: *config/routes.rb* diff --git a/railties/guides/source/layouts_and_rendering.textile b/railties/guides/source/layouts_and_rendering.textile index 5cff2d0893..c3df9d203f 100644 --- a/railties/guides/source/layouts_and_rendering.textile +++ b/railties/guides/source/layouts_and_rendering.textile @@ -656,7 +656,7 @@ WARNING: The asset tag helpers do _not_ verify the existence of the assets at th h5. Linking to Feeds with the +auto_discovery_link_tag+ -The +auto_discovery_link_tag+ helper builds HTML that most browsers and newsreaders can use to detect the presences of RSS or ATOM feeds. It takes the type of the link (+:rss+ or +:atom+), a hash of options that are passed through to url_for, and a hash of options for the tag: +The +auto_discovery_link_tag+ helper builds HTML that most browsers and newsreaders can use to detect the presences of RSS or Atom feeds. It takes the type of the link (+:rss+ or +:atom+), a hash of options that are passed through to url_for, and a hash of options for the tag: <erb> <%= auto_discovery_link_tag(:rss, {:action => "feed"}, |