views/sitemap.haml in nesta-0.9.13 vs views/sitemap.haml in nesta-0.10.0
- old
+ new
@@ -1,11 +1,11 @@
!!! XML
%urlset(xmlns="http://www.sitemaps.org/schemas/sitemap/0.9")
%url
- %loc= url('/')
+ %loc= path_to('/', :uri => true)
%changefreq daily
%priority 1.0
%lastmod= @last.xmlschema
- @pages.each do |page|
%url
- %loc= url(page.path)
+ %loc= path_to(page.path, :uri => true)
%lastmod= page.last_modified.xmlschema