]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/changesets/history.html.erb
Fix URL generation for atom feed on history page
[rails.git] / app / views / changesets / history.html.erb
index f9eb01a6d69948d8911dec99cae609ff3b582af2..cb80787a7a6fa36a3f290734c05b562a5551ec79 100644 (file)
@@ -1,6 +1,6 @@
 <% content_for :auto_discovery_link_tag do -%>
   <% unless params[:friends] or params[:nearby] -%>
-    <%= auto_discovery_link_tag :atom, @params.merge(:max_id => nil, :xhr => nil, :action => :feed) %>
+    <%= auto_discovery_link_tag :atom, @params.to_h.merge(:max_id => nil, :xhr => nil, :action => :feed) %>
   <% end -%>
 <% end -%>