fix xml
This commit is contained in:
@@ -14,7 +14,7 @@ class PostsController < ApplicationController
|
|||||||
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|
|
||||||
builder.tag!(:total_count, @posts.total_count)
|
builder.tag!("total-count", @posts.total_count)
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user