remove now-unnecessary post count

This commit is contained in:
Toks
2013-06-09 10:12:33 -04:00
parent 2f2c892670
commit 99998561b6

View File

@@ -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