]> 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 c8ffe1a81c973a852af251c1147fa4e8d024094d..6556f12bfe1641f54d79522abfb71510a2d3fb9b 100644 (file)
@@ -18,10 +18,10 @@ atom_feed(:language => I18n.locale, :schema_date => 2009,
   @changesets.each do |changeset|
     feed.entry(changeset, :updated => changeset.closed_at, :id => changeset_url(changeset.id, :only_path => false)) do |entry|
       entry.link :rel => "alternate",
-                 :href => changeset_show_url(changeset, :only_path => false),
+                 :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")