aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/atom_feed_helper.rb
diff options
context:
space:
mode:
authorArun Agrawal <arun@fromjaipur.com>2011-05-19 09:17:49 +0530
committerArun Agrawal <arun@fromjaipur.com>2011-05-19 09:17:49 +0530
commite3eaeb490aa97055e1ecc497412ca18e4604c9ba (patch)
tree19b25afbf911906a7704408b74331a0dc7757c98 /actionpack/lib/action_view/helpers/atom_feed_helper.rb
parent8630cd420cf2a6f60151d88c677e8526acdeec57 (diff)
downloadrails-e3eaeb490aa97055e1ecc497412ca18e4604c9ba.tar.gz
rails-e3eaeb490aa97055e1ecc497412ca18e4604c9ba.tar.bz2
rails-e3eaeb490aa97055e1ecc497412ca18e4604c9ba.zip
Example Usage updated for actionpack and actionmailer.
Diffstat (limited to 'actionpack/lib/action_view/helpers/atom_feed_helper.rb')
-rw-r--r--actionpack/lib/action_view/helpers/atom_feed_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/helpers/atom_feed_helper.rb b/actionpack/lib/action_view/helpers/atom_feed_helper.rb
index 889ea8a763..a087688a2c 100644
--- a/actionpack/lib/action_view/helpers/atom_feed_helper.rb
+++ b/actionpack/lib/action_view/helpers/atom_feed_helper.rb
@@ -34,7 +34,7 @@ module ActionView
# feed.title("My great blog!")
# feed.updated(@posts.first.created_at)
#
- # for post in @posts
+ # @posts.each do |post|
# feed.entry(post) do |entry|
# entry.title(post.title)
# entry.content(post.body, :type => 'html')
@@ -66,7 +66,7 @@ module ActionView
# feed.updated((@posts.first.created_at))
# feed.tag!(openSearch:totalResults, 10)
#
- # for post in @posts
+ # @posts.each do |post|
# feed.entry(post) do |entry|
# entry.title(post.title)
# entry.content(post.body, :type => 'html')