diff options
author | Gourav Tiwari <gouravtiwari21@gmail.com> | 2015-05-07 12:35:59 -0700 |
---|---|---|
committer | Gourav Tiwari <gouravtiwari21@gmail.com> | 2015-05-07 19:45:07 +0000 |
commit | cf54bbd713d433ddafdf0491b753933968f80527 (patch) | |
tree | c9d3d2d462978b8bd7a0184ab7adec96983a1ddf /actionview/lib/action_view | |
parent | 0a5a6c0c3679872de47e5d5091963e6a6eee06b8 (diff) | |
download | rails-cf54bbd713d433ddafdf0491b753933968f80527.tar.gz rails-cf54bbd713d433ddafdf0491b753933968f80527.tar.bz2 rails-cf54bbd713d433ddafdf0491b753933968f80527.zip |
Updated dynamic value of id in comments [ci skip]
In help text for method, dynamic value makes it hard to understand, so replaced with static value matching with example above
Diffstat (limited to 'actionview/lib/action_view')
-rw-r--r-- | actionview/lib/action_view/helpers/atom_feed_helper.rb | 2 |
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). |