]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notes/index.gpx.builder
Restructure notes URLs according to standard rails conventions
[rails.git] / app / views / notes / index.gpx.builder
diff --git a/app/views/notes/index.gpx.builder b/app/views/notes/index.gpx.builder
new file mode 100644 (file)
index 0000000..7a30460
--- /dev/null
@@ -0,0 +1,7 @@
+xml.instruct!
+
+xml.gpx("version" => "1.1", 
+        "xmlns:xsi" => "http://www.w3.org/2001/XMLSchema-instance",
+        "xsi:schemaLocation" => "http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd") do
+  xml << render(:partial => "note", :collection => @notes)
+end