Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix styiling issues on AtomFeedHelper docs

  • Loading branch information...
commit 956a0f4cfdddc9fc3aff69ce7cd324dc16311cc4 1 parent 1ca3ae5
@smartinez87 smartinez87 authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 actionpack/lib/action_view/helpers/atom_feed_helper.rb
View
8 actionpack/lib/action_view/helpers/atom_feed_helper.rb
@@ -81,8 +81,8 @@ module AtomFeedHelper
#
# The Atom spec defines five elements (content rights title subtitle
# summary) which may directly contain xhtml content if :type => 'xhtml'
- # is specified as an attribute. If so, this helper will take care of
- # the enclosing div and xhtml namespace declaration. Example usage:
+ # is specified as an attribute. If so, this helper will take care of
+ # the enclosing div and xhtml namespace declaration. Example usage:
#
# entry.summary :type => 'xhtml' do |xhtml|
# xhtml.p pluralize(order.line_items.count, "line item")
@@ -91,8 +91,8 @@ module AtomFeedHelper
# end
#
#
- # atom_feed yields an AtomFeedBuilder instance. Nested elements yield
- # an AtomBuilder instance.
+ # <tt>atom_feed</tt> yields an +AtomFeedBuilder+ instance. Nested elements yield
+ # an +AtomBuilder+ instance.
def atom_feed(options = {}, &block)
if options[:schema_date]
options[:schema_date] = options[:schema_date].strftime("%Y-%m-%d") if options[:schema_date].respond_to?(:strftime)

0 comments on commit 956a0f4

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