Fix URL generation for atom feed on history page

Fixes #3085
This commit is contained in:
Tom Hughes 2021-02-07 15:57:03 +00:00
parent d15041f847
commit e430bc0f7f
2 changed files with 15 additions and 1 deletions

View 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 -%>