Fix feed link for pushState loaded history page

This commit is contained in:
John Firebaugh 2013-11-25 15:46:14 -08:00
parent 51ade94113
commit 6b236ec95b
5 changed files with 19 additions and 4 deletions

View file

@ -1,6 +1,6 @@
<% content_for :head do -%>
<% content_for :auto_discovery_link_tag do -%>
<% unless params[:friends] or params[:nearby] -%>
<%= auto_discovery_link_tag :atom, params.merge({ :max_id => nil, :action => :feed }) %>
<%= auto_discovery_link_tag :atom, params.merge(:max_id => nil, :xhr => nil, :action => :feed) %>
<% end -%>
<% end -%>