Skip to content

Commit

Permalink
Fix URL generation for atom feed on history page
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed Feb 7, 2021
1 parent d15041f commit ba5a889
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/changesets/history.html.erb
Original file line number Diff line number Diff line change
@@ -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 -%>
Expand Down

0 comments on commit ba5a889

Please sign in to comment.