diff options
author | Saulius Grigaliunas <saulius@ninja.lt> | 2013-11-13 13:55:07 +0200 |
---|---|---|
committer | Saulius Grigaliunas <saulius@ninja.lt> | 2013-11-13 13:56:13 +0200 |
commit | 07d99335b303143ad2997a4a9228ea2a3182f5fe (patch) | |
tree | 7c0774c7cca2c532365f049348141873a6934ba2 /actionview/lib/action_view/helpers | |
parent | 49245f37f7fc60bea5862aae1c9f8e1f1475872d (diff) | |
download | rails-07d99335b303143ad2997a4a9228ea2a3182f5fe.tar.gz rails-07d99335b303143ad2997a4a9228ea2a3182f5fe.tar.bz2 rails-07d99335b303143ad2997a4a9228ea2a3182f5fe.zip |
Fix syntax error in atom_feed example [ci skip]
Builder's #tag! takes either String or Symbol as the first parameter
Diffstat (limited to 'actionview/lib/action_view/helpers')
-rw-r--r-- | actionview/lib/action_view/helpers/atom_feed_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/helpers/atom_feed_helper.rb b/actionview/lib/action_view/helpers/atom_feed_helper.rb index 42b1dd8933..af70a4242a 100644 --- a/actionview/lib/action_view/helpers/atom_feed_helper.rb +++ b/actionview/lib/action_view/helpers/atom_feed_helper.rb @@ -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| |