app/views/sitemaps/index.builder in dynamic_sitemaps-1.0.3 vs app/views/sitemaps/index.builder in dynamic_sitemaps-1.0.4
- old
+ new
@@ -1,9 +1,9 @@
xml.instruct!
xml.sitemapindex "xmlns" => "http://www.sitemaps.org/schemas/sitemap/0.9" do
@pages.each_with_index do |page, i|
xml.sitemap do
- xml.loc url_for(:host => request.host, :page => i + 1, :format => :xml)
+ xml.loc url_for(:host => request.host, :page => i + 1)
if page.last_mod
xml.lastmod page.last_mod.to_date
end
end
end