This commit is contained in:
Toks
2013-05-15 16:52:44 -04:00
parent 9ccf1e0f8f
commit dcfeb1edad

View File

@@ -14,7 +14,7 @@ class PostsController < ApplicationController
format.atom
format.xml do
render :xml => @posts.to_xml(:root => "posts") {|builder|
builder.tag!(:total_count, @posts.total_count)
builder.tag!("total-count", @posts.total_count)
}
end
end