aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2015-05-07 16:53:17 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2015-05-07 16:53:17 -0300
commit634c5cbc190ca1d55c51ab90783f740cb075b131 (patch)
tree931cdcd0ea2094be62b426dcb853bd14ee420f20
parentd84bfaa8530e42188f0361efb5a61c73948192e6 (diff)
parentcf54bbd713d433ddafdf0491b753933968f80527 (diff)
downloadrails-634c5cbc190ca1d55c51ab90783f740cb075b131.tar.gz
rails-634c5cbc190ca1d55c51ab90783f740cb075b131.tar.bz2
rails-634c5cbc190ca1d55c51ab90783f740cb075b131.zip
Merge pull request #20062 from gouravtiwari/patch-1
Changed to static value of id in comments [ci skip]
-rw-r--r--actionview/lib/action_view/helpers/atom_feed_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/helpers/atom_feed_helper.rb b/actionview/lib/action_view/helpers/atom_feed_helper.rb
index 111cd82ef6..bb1cdd0f8d 100644
--- a/actionview/lib/action_view/helpers/atom_feed_helper.rb
+++ b/actionview/lib/action_view/helpers/atom_feed_helper.rb
@@ -51,7 +51,7 @@ module ActionView
# * <tt>:language</tt>: Defaults to "en-US".
# * <tt>:root_url</tt>: The HTML alternative that this feed is doubling for. Defaults to / on the current host.
# * <tt>:url</tt>: The URL for this feed. Defaults to the current URL.
- # * <tt>:id</tt>: The id for this feed. Defaults to "tag:#{request.host},#{options[:schema_date]}:#{request.fullpath.split(".")[0]}"
+ # * <tt>:id</tt>: The id for this feed. Defaults to "tag:localhost,2005:/posts", in this case.
# * <tt>:schema_date</tt>: The date at which the tag scheme for the feed was first used. A good default is the year you
# created the feed. See http://feedvalidator.org/docs/error/InvalidTAG.html for more information. If not specified,
# 2005 is used (as an "I don't care" value).