]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/changesets/index.atom.builder
Create api changeset download resource
[rails.git] / app / views / changesets / index.atom.builder
index 4ba79f797996bb075eaa7c8f6a5386fb6f574a46..6556f12bfe1641f54d79522abfb71510a2d3fb9b 100644 (file)
@@ -21,7 +21,7 @@ atom_feed(:language => I18n.locale, :schema_date => 2009,
                  :href => api_changeset_url(changeset, :only_path => false),
                  :type => "application/osm+xml"
       entry.link :rel => "alternate",
                  :href => api_changeset_url(changeset, :only_path => false),
                  :type => "application/osm+xml"
       entry.link :rel => "alternate",
-                 :href => changeset_download_url(changeset, :only_path => false),
+                 :href => api_changeset_download_url(changeset, :only_path => false),
                  :type => "application/osmChange+xml"
 
       if !changeset.tags.empty? && changeset.tags.key?("comment")
                  :type => "application/osmChange+xml"
 
       if !changeset.tags.empty? && changeset.tags.key?("comment")