Merge branch 'master' of github.com:r888888888/danbooru

This commit is contained in:
r888888888
2013-06-10 16:33:34 -07:00
7 changed files with 44 additions and 4 deletions

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