-<% content_for :head do %>
-<%= auto_discovery_link_tag :atom, params.merge({ :page => nil, :format => :atom }) %>
-<% end %>
+<% content_for :head do -%>
+<%= auto_discovery_link_tag :atom, params.merge({ :page => nil, :action => :feed }) %>
+<% end -%>
+<% end -%>