]> Dogcows Code - chaz/p5-Catalyst-Plugin-Sitemap/blobdiff - lib/Catalyst/Plugin/Sitemap.pm
return the $sitemap object instead than the XML directly
[chaz/p5-Catalyst-Plugin-Sitemap] / lib / Catalyst / Plugin / Sitemap.pm
index eb6e92bda093e16f5bd7683a2c38323a37b5edd3..73639508f26c3c2b1fa3034011aa8b9861e4e0d2 100644 (file)
@@ -61,7 +61,7 @@ sub sitemap {
 
     }
 
-    return $sitemap->xml;
+    return $sitemap;
 }
 
 1;
This page took 0.019095 seconds and 4 git commands to generate.