diff options
author | Rick Olson <technoweenie@gmail.com> | 2008-01-07 20:44:40 +0000 |
---|---|---|
committer | Rick Olson <technoweenie@gmail.com> | 2008-01-07 20:44:40 +0000 |
commit | ce84cebc0e8127e4c5d82c314ee446d802003cfb (patch) | |
tree | 4eb1e7daad37a5cb1613431085d2623ee6deed5b /actionpack/lib/action_view/helpers | |
parent | 07fcac508adf1740699701adfe309d53316d8e3a (diff) | |
download | rails-ce84cebc0e8127e4c5d82c314ee446d802003cfb.tar.gz rails-ce84cebc0e8127e4c5d82c314ee446d802003cfb.tar.bz2 rails-ce84cebc0e8127e4c5d82c314ee446d802003cfb.zip |
Doc fixes for #atom_feed_helper. Closes #10715 [hasmanyjosh]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8593 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_view/helpers')
-rw-r--r-- | actionpack/lib/action_view/helpers/atom_feed_helper.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/action_view/helpers/atom_feed_helper.rb b/actionpack/lib/action_view/helpers/atom_feed_helper.rb index 969e62e48a..96721b5b03 100644 --- a/actionpack/lib/action_view/helpers/atom_feed_helper.rb +++ b/actionpack/lib/action_view/helpers/atom_feed_helper.rb @@ -49,7 +49,7 @@ module ActionView # * <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. # - # atom_feed yields a AtomFeedBuilder instance. + # atom_feed yields an AtomFeedBuilder instance. def atom_feed(options = {}, &block) if options[:schema_date].blank? logger.warn("You must provide the :schema_date option to atom_feed for your feed to be valid. A good default is the year you first created this feed.") unless logger.nil? @@ -84,8 +84,8 @@ module ActionView # # Options: # - # * <tt>:updated</tt>: Time of update. Defaults to the created_at attribute on the record if one such exists. - # * <tt>:published</tt>: Time first published. Defaults to the updated_at attribute on the record if one such exists. + # * <tt>:published</tt>: Time first published. Defaults to the created_at attribute on the record if one such exists. + # * <tt>:updated</tt>: Time of update. Defaults to the updated_at attribute on the record if one such exists. # * <tt>:url</tt>: The URL for this entry. Defaults to the polymorphic_url for the record. def entry(record, options = {}) @xml.entry do |