diff options
author | Arun Agrawal <arun@fromjaipur.com> | 2011-05-19 09:17:49 +0530 |
---|---|---|
committer | Arun Agrawal <arun@fromjaipur.com> | 2011-05-19 09:17:49 +0530 |
commit | e3eaeb490aa97055e1ecc497412ca18e4604c9ba (patch) | |
tree | 19b25afbf911906a7704408b74331a0dc7757c98 /actionpack/lib | |
parent | 8630cd420cf2a6f60151d88c677e8526acdeec57 (diff) | |
download | rails-e3eaeb490aa97055e1ecc497412ca18e4604c9ba.tar.gz rails-e3eaeb490aa97055e1ecc497412ca18e4604c9ba.tar.bz2 rails-e3eaeb490aa97055e1ecc497412ca18e4604c9ba.zip |
Example Usage updated for actionpack and actionmailer.
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_view/helpers/atom_feed_helper.rb | 4 |
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') |