Permalink
Browse files

Fix syntax error in atom_feed example [ci skip]

Builder's #tag! takes either String or Symbol as the first parameter
  • Loading branch information...
1 parent 49245f3 commit 07d99335b303143ad2997a4a9228ea2a3182f5fe @saulius saulius committed Nov 13, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionview/lib/action_view/helpers/atom_feed_helper.rb
View
2 actionview/lib/action_view/helpers/atom_feed_helper.rb
@@ -64,7 +64,7 @@ module AtomFeedHelper
# '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|

0 comments on commit 07d9933

Please sign in to comment.