]> git.openstreetmap.org Git - rails.git/commitdiff
Diary and trace feeds are RSS not Atom
authorTom Hughes <tom@compton.nu>
Sat, 7 Dec 2013 14:31:59 +0000 (14:31 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 7 Dec 2013 14:31:59 +0000 (14:31 +0000)
Fixes #638

app/views/diary_entry/list.html.erb
app/views/trace/list.html.erb

index 0767bd402f6a272167707d61b9ce804a4a724e0b..a715d152419d9eba1b271ee8ac5b16cb227a0cef 100644 (file)
@@ -51,6 +51,6 @@
 
 <% unless params[:friends] or params[:nearby] -%>
   <% content_for :head do -%>
 
 <% unless params[:friends] or params[:nearby] -%>
   <% content_for :head do -%>
-  <%= auto_discovery_link_tag :atom, :action => 'rss', :language => params[:language] %>
+  <%= auto_discovery_link_tag :rss, :action => 'rss', :language => params[:language] %>
   <% end -%>
 <% end -%>
   <% end -%>
 <% end -%>
index dae4c89f616839ed97118b3e00d0d464828b4476..cd72ee406f2ad2e6d00a18e7ded0cf11866e7b93 100644 (file)
@@ -19,7 +19,7 @@
 <% end %>
 
 <% content_for :head do %>
 <% end %>
 
 <% content_for :head do %>
-<%= auto_discovery_link_tag :atom, :action => 'georss', :display_name => @display_name, :tag => @tag %>
+<%= auto_discovery_link_tag :rss, :action => 'georss', :display_name => @display_name, :tag => @tag %>
 <% end %>
 
 <% if @traces.size > 0 %>
 <% end %>
 
 <% if @traces.size > 0 %>