1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix syntax error in atom_feed example [ci skip]

Builder's #tag! takes either String or Symbol as the first parameter
This commit is contained in:
Saulius Grigaliunas 2013-11-13 13:55:07 +02:00
parent 49245f37f7
commit 07d99335b3

View file

@ -64,7 +64,7 @@ module ActionView
# 'xmlns:openSearch' => 'http://a9.com/-/spec/opensearch/1.1/'}) do |feed| # 'xmlns:openSearch' => 'http://a9.com/-/spec/opensearch/1.1/'}) do |feed|
# feed.title("My great blog!") # feed.title("My great blog!")
# feed.updated((@posts.first.created_at)) # feed.updated((@posts.first.created_at))
# feed.tag!(openSearch:totalResults, 10) # feed.tag!('openSearch:totalResults', 10)
# #
# @posts.each do |post| # @posts.each do |post|
# feed.entry(post) do |entry| # feed.entry(post) do |entry|