diff --git a/app/controllers/posts_controller.rb b/app/controllers/posts_controller.rb index 5ac7ba684..7c40b4571 100644 --- a/app/controllers/posts_controller.rb +++ b/app/controllers/posts_controller.rb @@ -14,9 +14,7 @@ class PostsController < ApplicationController respond_with(@posts) do |format| format.atom format.xml do - render :xml => @posts.to_xml(:root => "posts") {|builder| - builder.tag!("total-count", @posts.total_count) - } + render :xml => @posts.to_xml(:root => "posts") end end end