remove now-unnecessary post count
This commit is contained in:
@@ -14,9 +14,7 @@ class PostsController < ApplicationController
|
|||||||
respond_with(@posts) do |format|
|
respond_with(@posts) do |format|
|
||||||
format.atom
|
format.atom
|
||||||
format.xml do
|
format.xml do
|
||||||
render :xml => @posts.to_xml(:root => "posts") {|builder|
|
render :xml => @posts.to_xml(:root => "posts")
|
||||||
builder.tag!("total-count", @posts.total_count)
|
|
||||||
}
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user