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:
parent
49245f37f7
commit
07d99335b3
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ module ActionView
|
|||
# 'xmlns:openSearch' => 'http://a9.com/-/spec/opensearch/1.1/'}) do |feed|
|
||||
# feed.title("My great blog!")
|
||||
# feed.updated((@posts.first.created_at))
|
||||
# feed.tag!(openSearch:totalResults, 10)
|
||||
# feed.tag!('openSearch:totalResults', 10)
|
||||
#
|
||||
# @posts.each do |post|
|
||||
# feed.entry(post) do |entry|
|
||||
|
|
Loading…
Reference in a new issue