aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorSebastian Martinez <sebastian@wyeworks.com>2011-05-10 19:39:34 -0300
committerSebastian Martinez <sebastian@wyeworks.com>2011-05-10 19:39:34 -0300
commit956a0f4cfdddc9fc3aff69ce7cd324dc16311cc4 (patch)
treea4efe13455ed81bc614eab6165687af6c8ae2936 /actionpack
parent1ca3ae5f41da627c11fb509fc1c11ef5cfa2a1ca (diff)
downloadrails-956a0f4cfdddc9fc3aff69ce7cd324dc16311cc4.tar.gz
rails-956a0f4cfdddc9fc3aff69ce7cd324dc16311cc4.tar.bz2
rails-956a0f4cfdddc9fc3aff69ce7cd324dc16311cc4.zip
Fix styiling issues on AtomFeedHelper docs
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_view/helpers/atom_feed_helper.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/lib/action_view/helpers/atom_feed_helper.rb b/actionpack/lib/action_view/helpers/atom_feed_helper.rb
index 96e5722252..889ea8a763 100644
--- a/actionpack/lib/action_view/helpers/atom_feed_helper.rb
+++ b/actionpack/lib/action_view/helpers/atom_feed_helper.rb
@@ -81,8 +81,8 @@ module ActionView
#
# 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 ActionView
# 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)