Skip to content
This repository
Browse code

Doc fixes for #atom_feed_helper. #10715 [hasmanyjosh]

git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/2-0-stable@8592 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit 24abd43d562f304e23bcac43aeda2084c445092b 1 parent 083b0b7
risk danger olson authored January 07, 2008
6  actionpack/lib/action_view/helpers/atom_feed_helper.rb
@@ -49,7 +49,7 @@ module AtomFeedHelper
49 49
       # * <tt>:root_url</tt>: The HTML alternative that this feed is doubling for. Defaults to / on the current host.
50 50
       # * <tt>:url</tt>: The URL for this feed. Defaults to the current URL.
51 51
       #
52  
-      # atom_feed yields a AtomFeedBuilder instance.
  52
+      # atom_feed yields an AtomFeedBuilder instance.
53 53
       def atom_feed(options = {}, &block)
54 54
         if options[:schema_date].blank?
55 55
           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 @@ def updated(date_or_time = nil)
84 84
         #
85 85
         # Options:
86 86
         #
87  
-        # * <tt>:updated</tt>: Time of update. Defaults to the created_at attribute on the record if one such exists.
88  
-        # * <tt>:published</tt>: Time first published. Defaults to the updated_at attribute on the record if one such exists.
  87
+        # * <tt>:published</tt>: Time first published. Defaults to the created_at attribute on the record if one such exists.
  88
+        # * <tt>:updated</tt>: Time of update. Defaults to the updated_at attribute on the record if one such exists.
89 89
         # * <tt>:url</tt>: The URL for this entry. Defaults to the polymorphic_url for the record.
90 90
         def entry(record, options = {})
91 91
           @xml.entry do 

0 notes on commit 24abd43

Please sign in to comment.
Something went wrong with that request. Please try again.